function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Ballière', 9], ['Biodiversity Data Journal', 30], ['Check List', 2], ['Entomological news', 1], ['Insects of Guam II', 1], ['Journal of Hymenoptera Research', 8], ['Journal of Natural History', 8], ['Proceedings of the Hawaiian Entomological Society', 2], ['Turkish Journal of Zoology', 9], ['U S Dep Agr Rep', 1], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=78)', 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);