Team:UT Dallas/Infographics
From 2012.igem.org
(Difference between revisions)
Line 29: | Line 29: | ||
}; | }; | ||
var data=[]; | var data=[]; | ||
+ | var msg=""; | ||
var data_2007 = google.visualization.arrayToDataTable([ | var data_2007 = google.visualization.arrayToDataTable([ | ||
['Year','Food/Energy','Environment','Foundational Research','Information Processing','Health/Medicine','Not Specified'], | ['Year','Food/Energy','Environment','Foundational Research','Information Processing','Health/Medicine','Not Specified'], | ||
Line 62: | Line 63: | ||
function() { | function() { | ||
button.disabled = false; | button.disabled = false; | ||
+ | document.getElementById('year_no_tracks').innerHTML=msg; | ||
}); | }); | ||
chart.draw(data, options); | chart.draw(data, options); | ||
Line 68: | Line 70: | ||
button_2011.onclick = function() { | button_2011.onclick = function() { | ||
data=data_2011; | data=data_2011; | ||
- | + | msg='Year 2011'; | |
drawChart(button_2011); | drawChart(button_2011); | ||
} | } | ||
button_2010.onclick = function() { | button_2010.onclick = function() { | ||
data=data_2010; | data=data_2010; | ||
- | + | msg='Year 2010'; | |
drawChart(button_2010); | drawChart(button_2010); | ||
} | } | ||
button_2009.onclick = function() { | button_2009.onclick = function() { | ||
data=data_2009; | data=data_2009; | ||
- | + | msg='Year 2009'; | |
drawChart(button_2009); | drawChart(button_2009); | ||
} | } | ||
button_2008.onclick = function() { | button_2008.onclick = function() { | ||
data=data_2008; | data=data_2008; | ||
- | + | msg='Year 2008'; | |
drawChart(button_2008); | drawChart(button_2008); | ||
} | } | ||
button_2007.onclick = function() { | button_2007.onclick = function() { | ||
data=data_2007; | data=data_2007; | ||
- | + | msg='Year 2007'; | |
drawChart(button_2007); | drawChart(button_2007); | ||
} | } |
Revision as of 08:24, 25 September 2012
Infographics
This year, it has been X years since iGEM first started. We wanted to highlight some of the defining moments and show them to the rest of the iGEM world through these infographics! Enjoy!Year 2012
Year 2011