function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 4], ['Far Eastern Entomologist', 1], ['Gr Basin Nat', 1], ['Journal of Natural History', 5], ['Journal of the Academy of Natural Sciences of Philadelphia', 2], ['Mitteilungen über Höhlen- und Karstforschung', 1], ['Proceedings of the Zoological Society of London', 1], ['Psyche', 1], ['Revue suisse de Zoologie', 1], ['Species Diversity', 6], ['ZooKeys', 14], ['Zoological Journal of the Linnean Society', 5], ['Zootaxa', 75] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=117)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);