function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Berliner Entomologische Zeitschrift', 1], ['Biodiversity Data Journal', 24], ['Insects of Guam I', 3], ['Journal of the Royal Society of New Zealand', 1], ['Linzer biologische Beiträge', 1], ['Proceedings of the California Academy of Sciences, Series 4', 1], ['Records of the Australian Museum', 63], ['Smithsonian Contributions to Zoology', 1], ['Transactions of the American Entomological Society', 1], ['ZooKeys', 13], ['Zootaxa', 80] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=189)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);