function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 16], ['Acta Zoologica Academiae Scientiarum Hungaricae', 2], ['African Invertebrates', 2], ['Biodiversity Data Journal', 33], ['Bishop Museum Bulletin in Entomology', 7], ['Bishop Museum Occasional Papers', 3], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 3], ['Check List', 7], ['Entomological News and Proceedings of the Entomological Section of the Academy of Natural Sciences of Philadelphia', 2], ['Far Eastern Entomologist', 3], ['Japanese journal of systematic entomology', 2], ['Species Diversity', 11], ['ZooKeys', 30], ['Zoological Systematics', 10], ['Zootaxa', 140], ['Other (8)', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=282)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);