function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 74], ['Annales de la Société Entomologique de France, Nouvelle Série', 2], ['European Journal of Taxonomy', 5], ['Insecta Mundi', 1], ['Insects of Guam I', 1], ['J. Zool. Syst. Evol. Research', 1], ['Japanese Journal of Systematic Entomology', 1], ['Journal of Natural History', 2], ['New Zealand entomologist', 1], ['New Zealand journal of zoology', 1], ['Tijdschrift voor Entomologie', 2], ['ZooKeys', 139], ['Zoological Journal of the Linnean Society', 2], ['Zoological Systematics', 6], ['Zootaxa', 46], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=287)', 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);