function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 2], ['Bulletin of the American Museum of Natural History', 1], ['European Journal of Taxonomy', 46], ['Far Eastern Entomologist', 3], ['Journal of Natural History', 6], ['Journal of Orthoptera Research', 1], ['Records of the Canterbury Museum', 1], ['Revue suisse de Zoologie', 3], ['Transactions and proceedings of the New Zealand Institute', 2], ['Umwelt-Vollzug', 3], ['ZooKeys', 16], ['Zoological Journal of the Linnean Society', 12], ['Zoosystema', 4], ['Zootaxa', 375] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=475)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);