function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 4], ['Acta Entomologica Musei Nationalis Pragae', 4], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 3], ['Biodiversity Data Journal', 2], ['Entomo Helvetica', 2], ['Insecta Mundi', 8], ['Insects of Guam I', 2], ['Journal of Natural History', 20], ['Linzer biologische Beiträge', 2], ['Palaeoentomology', 2], ['Proceedings of the Royal Entomological Society of London, Series B, Taxonomy', 7], ['Systematic entomology', 4], ['ZooKeys', 79], ['Zoological Journal of the Linnean Society', 3], ['Zootaxa', 41], ['Other (9)', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=193)', 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);