function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of Marine Science', 1], ['Bulletin of the American Museum of Natural History', 1], ['Bulletin of the Essex Institute', 1], ['European Journal of Taxonomy', 8], ['International Journal of Research Studies in Zoology', 1], ['Proceedings of the California Academy of Sciences, Series 1', 1], ['Proceedings of the California Academy of Sciences, Series 3, Zoology', 1], ['Proceedings of the Linnean Society of New South Wales', 1], ['Zootaxa', 48] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=63)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);