function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 2], ['Bibliopolii Academici Novi', 2], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['Far Eastern Entomologist', 2], ['Insecta Mundi', 3], ['International Journal of Research Studies in Zoology', 2], ['Proceedings of the Entomological Society of London', 1], ['The Coleopterists Bulletin', 1], ['ZooKeys', 2], ['Zoological Systematics', 35], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=63)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);