function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Chiropterologica', 31], ['American Museum Novitates', 1], ['European Journal of Taxonomy', 9], ['Handbook of the Mammals of the World – Volume 9 Bats', 30], ['International Journal of Biological Sciences', 1], ['Journal of Natural History', 1], ['Journal of Threatened Taxa', 2], ['Mammal Species of the World (1 st Edition)', 49], ['Mammal Species of the World (2 nd Edition)', 51], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 56], ['Mammalia', 2], ['PLoS ONE', 3], ['Revue suisse de Zoologie', 3], ['Zoological Journal of the Linnean Society', 4], ['Zootaxa', 4], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=249)', 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);