function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Beverley Tucker', 1], ['Biodiversity Data Journal', 1], ['Bulletin de la Société Scientifique Mediterranée Ouest', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 2], ['European Journal of Taxonomy', 1], ['Journal of the Academy of Natural Sciences of Philadelphia', 4], ['Proceedings of the United States National Museum', 3], ['Ruthenica, Russian Malacological Journal', 1], ['Transactions and proceedings of the New Zealand Institute', 1], ['Zoological Journal of the Linnean Society', 37], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=53)', 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);