function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annali del Museo Civico di Storia Naturale di Genova', 4], ['Biodiversity Data Journal', 30], ['Far Eastern Entomologist', 3], ['Insecta Mundi', 14], ['Journal of Natural History', 1], ['Mitteilungen über Höhlen- und Karstforschung', 4], ['Mitteilungen über Höhlen-und Karstforschung', 4], ['Revue suisse de Zoologie', 5], ['ZooKeys', 20], ['Zoological Journal of the Linnean Society', 10], ['Zoosystema', 6], ['Zootaxa', 102] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=203)', 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);