function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and magazine of natural history', 3], ['Benjamin White and Son', 1], ['Biodiversity Data Journal', 5], ['European Journal of Taxonomy', 3], ['Hallageriis', 1], ['Laurentius Salvius', 13], ['Revue Suisse de Zoologie', 1], ['ZooKeys', 1], ['Zoological Journal of the Linnean Society', 54], ['Zoosystema', 72], ['Zootaxa', 26], ['[G. Remondini e fl.]', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=181)', 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);