function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Far Eastern Entomologist', 1], ['General and applied entomology', 1], ['Insects of Guam I', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Linnean Society of New South Wales', 1], ['Records of the Canterbury Museum', 2], ['Russian Entomological Journal', 1], ['Transactions and proceedings of the New Zealand Institute', 4], ['Transactions of the American Entomological Society', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=13)', 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);