function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['C. Fritsch', 1], ['Eberhard Klett et Franck', 1], ['Far Eastern Entomologist', 2], ['Hallageriis', 1], ['Journal of Natural History', 6], ['Laurentii Salvii', 3], ['Laurentius Salvius', 16], ['Officina Libraria Kortii', 1], ['Proft et Storch', 1], ['The Coleopterists Bulletin', 1], ['ZooKeys', 2], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=37)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);