function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Ichthyologica et Piscatoria', 2], ['Acta Parasitologica', 1], ['C. G. Proft, Fil. et Soc.', 1], ['Crustacean Research.', 1], ['Journal of Natural History', 7], ['Papéis Avulsos de Zoologia', 3], ['Proceedings of the Zoological Society of London', 1], ['Records of the Australian Museum', 2], ['Revue suisse de Zoologie', 8], ['Species Diversity', 2], ['The American Journal of Science and Arts, Series 3', 1], ['ZooKeys', 44], ['Zoosystema', 2], ['Zootaxa', 162] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=237)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);