function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Chiropterologica', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['Fossil Imprint', 1], ['Handbook of the Mammals of the World – Volume 9 Bats', 18], ['Journal of Natural History', 2], ['Mammal Species of the World (1 st Edition)', 6], ['Mammal Species of the World (2 nd Edition)', 8], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 17], ['Mammalian Species', 1], ['Revue suisse de Zoologie', 1], ['Zoosystema', 1], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=59)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);