function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 2], ['Biodiversity Data Journal', 5], ['European Journal of Taxonomy', 1], ['Journal of Natural History', 7], ['Records of the Auckland Museum', 1], ['Revue Suisse de Zoologie', 1], ['Ruthenica, Russian Malacological Journal', 8], ['Strombus', 1], ['The Bulletin of the Russian Far East Malacological Society', 6], ['ZooKeys', 1], ['Zoosystema', 1], ['Zootaxa', 134] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=168)', 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);