function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 2], ['Annals of the Natal Museum', 1], ['Biodiversity Data Journal', 2], ['Bulletin of the National Science Museum', 2], ['Bulletin of the Toyama Science Museum', 1], ['European Journal of Taxonomy', 16], ['Journal of Natural History', 6], ['Mitteilungen über Höhlen- und Karstforschung', 8], ['North-Western Journal of Zoology', 2], ['Proceedings of the Zoological Society of London', 1], ['Subterranean Biology', 2], ['ZooKeys', 6], ['Zoological Journal of the Linnean Society', 2], ['Zoosystema', 5], ['Zootaxa', 21], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=78)', 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);