function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Entomological Society of America', 2], ['British Museum (Natural History)', 1], ['Bulletin of Entomological Research', 1], ['Bulletin of entomological research', 1], ['Contr Ent Int', 3], ['Fauna of New Zealand', 1], ['Hilgardia', 1], ['Insecta Mundi', 65], ['Insects of Guam II', 7], ['Proceedings of the Entomological Society of Washington', 1], ['Proceedings of the Hawaiian Entomological Society', 9], ['Records of the Western Australian Museum', 1], ['ZooKeys', 7], ['Zoosystema', 5], ['Zootaxa', 31], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=137)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);