function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 8], ['Biodiversity Data Journal', 7], ['Geodiversitas', 3], ['Iberus: Revista de la Sociedad Española de Malacología', 4], ['Journal of Natural History', 18], ['Ruthenica, Russian Malacological Journal', 3], ['Scientia Marina', 1], ['Visaya', 1], ['ZooKeys', 1], ['Zoosystema', 9], ['Zootaxa', 40] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=95)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);