function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australian Entomologist', 1], ['Biodiversity Data Journal', 5], ['Far Eastern Entomologist', 3], ['General and applied entomology', 1], ['Insects of Guam I', 1], ['Memoirs of Museum Victoria', 12], ['Papéis Avulsos de Zoologia', 9], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Hawaiian Entomological Society', 1], ['Proceedings of the Linnean Society of New South Wales', 1], ['Records of the Australian Museum', 3], ['Records of the Canterbury Museum', 2], ['Russian Entomological Journal', 6], ['Transactions and proceedings of the New Zealand Institute', 5], ['Zootaxa', 4], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=56)', 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);