function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 6], ['Biodiversity Data Journal', 1279], ['Cryptogamie, Algologie', 16], ['Genome Biology and Evolution', 5], ['Havniae & Lipsiae', 13], ['Insect Systematics and Diversity', 3], ['Insecta Mundi', 3], ['International Journal of Systematic and Evolutionary Microbiology', 704], ['Journal of Natural History', 25], ['Journal of Species Research', 149], ['Order out of Chaos. Linnaean Plant Types and their Types', 6], ['Phytochemistry', 12], ['Phytotaxa', 87], ['Zoological Journal of the Linnean Society', 8], ['Zootaxa', 13], ['Other (19)', 25] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2354)', 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);