function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 7], ['Bulletin of Entomological Research', 4], ['Contributions to Zoology', 4], ['Entomo Helvetica', 2], ['European Mosqito Bulletin', 5], ['Insects of Guam I', 4], ['Journal of Natural History', 7], ['Parasites & Vectors', 1], ['Proceedings of the Entomological Society of Washington', 2], ['Proceedings of the Hawaiian Entomological Society', 1], ['Zoological Journal of the Linnean Society', 23], ['Zoosystematica Rossica', 31], ['Zootaxa', 102] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=193)', 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);