function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 6], ['Far Eastern Entomologist', 2], ['Insecta Mundi', 1], ['Laurentius Salvius', 3], ['Namibian Journal of Environment', 1], ['New Zealand Journal of Science and Technology', 1], ['Proceedings of the Hawaiian Entomological Society', 1], ['Records of the Australian Museum', 44], ['Records of the Western Australian Museum', 2], ['Records of the Western Australian Museum Supplement', 1], ['South Australian branch of the British Science Guild (incorporated with the British Association for the Advancement of Science)', 2], ['ZooKeys', 5], ['Zoologica (Stuttgart)', 1], ['Zoological Systematics', 6], ['Zootaxa', 16] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=92)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);