function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 14], ['Bulletin Calif St Bd Hort', 1], ['Insects of Guam II', 1], ['Journal of Natural History', 9], ['Linzer biologische Beiträge', 20], ['Proceedings of the United States National Museum, 3', 1], ['The London and Edinburgh Philosophical Magazine and Journal of Science, Series 3', 2], ['U S Dep Agr Ent Bull', 1], ['United States Department of Agriculture Technical Series Bulletin', 1], ['University of California Publications in Entomology', 1], ['ZooKeys', 4], ['Zootaxa', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=66)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);