function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 6], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 5], ['Berliner Entomologische Zeitschrift', 3], ['Insect Systematics & Evolution', 1], ['Insecta Mundi', 1], ['Mélanges exotico-entomologiques. Moulins', 1], ['The Coleopterists Bulletin', 25], ['ZooKeys', 8], ['Zootaxa', 13] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=63)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);