function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 16], ['Arthropod Systematics & amp; Phylogeny', 25], ['Biota Neotropica', 19], ['British Museum', 260], ['Bulletin of the American Museum of Natural History', 24], ['European Journal of Taxonomy', 100], ['Geodiversitas', 18], ['Insecta Mundi', 43], ['Journal of Natural History', 59], ['Revue suisse de Zoologie', 62], ['ZooKeys', 337], ['Zoological Journal of the Linnean Society', 17], ['Zoological Systematics', 42], ['Zoosystema', 18], ['Zootaxa', 990], ['Other (39)', 189] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2219)', 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);