function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australasian Journal of Herpetology', 9], ['Biodiversity Data Journal', 12], ['Check List', 9], ['Journal of the Royal Society of New Zealand', 6], ['Mémoires du Muséum national d\'Histoire naturelle', 6], ['New Zealand Journal of Zoology', 6], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 8], ['Raffles Bulletin of Zoology', 13], ['Records of the Australian Museum', 8], ['Vertebrate Zoology', 18], ['ZooKeys', 12], ['Zoological Journal of the Linnean Society', 35], ['Zoosystema', 24], ['Zoosystematics and Evolution', 10], ['Zootaxa', 457], ['Other (18)', 40] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=673)', 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);