function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annali del Museo Civico di Storia Naturale di Genova', 1], ['Biodiversity Data Journal', 24], ['Bulletin of the National Science Museum, Series A (Zoology)', 2], ['Check List', 3], ['Dobutsugaku Zasshi', 1], ['Edinburgh encyclopaedia, conducted by David Brewster', 2], ['European Journal of Taxonomy', 628], ['Far Eastern Entomologist', 7], ['Insecta Mundi', 20], ['Memoirs of the Queensland Museum', 4], ['Mitteilungen über Höhlen- und Karstforschung', 2], ['Revue suisse de Zoologie', 4], ['ZooKeys', 12], ['Zoosystema', 6], ['Zootaxa', 665], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1383)', 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);