function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Universitatis Daugavpiliensis', 4], ['Amurian Zoological Journal', 8], ['Biodiversity Data Journal', 33], ['Caucasian Entomological Bulletin', 8], ['Christ. Gottl. Proft', 3], ['Johann. Edman', 3], ['Karl Schaumburg und Comp.', 7], ['Laurentii Salvii', 3], ['Laurentius Salvius', 32], ['Officina Libraria Kortii', 5], ['Proceedings of the Japanese Society of Systematic Zoology', 7], ['Proft et Storch', 6], ['Species Diversity', 4], ['ZooKeys', 43], ['Zootaxa', 36], ['Other (16)', 24] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=226)', 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);