function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Amphibian & Reptile Conservation', 47], ['Bulletin of the American Museum of Natural History', 1], ['Check List', 12], ['European Journal of Taxonomy', 33], ['Herpetologica', 1], ['Papéis Avulsos de Zoologia', 3], ['Zoological Journal of the Linnean Society', 7], ['Zoologischer Anzeiger', 2], ['Zoosystema', 10], ['Zoosystematics and Evolution', 1], ['Zootaxa', 46] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=164)', 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);