function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 4101], ['American Museum Novitates', 662], ['Biodiversity Data Journal', 2473], ['Bulletin of the American Museum of Natural History', 1529], ['European Journal of Taxonomy', 2286], ['Euscorpius', 963], ['Hornmilben (Oribatida) [Dahl, Tierwelt Deutschlands, Teil 76]', 869], ['Journal of Natural History', 1112], ['Persian Journal of Acarology', 1700], ['Revue suisse de Zoologie', 525], ['ZooKeys', 5060], ['Zoological Journal of the Linnean Society', 934], ['Zoological Systematics', 866], ['Zoosystema', 1181], ['Zootaxa', 40390], ['Other (804)', 11722] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=76373)', 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);