function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Biodiversity Data Journal', 2], ['Bulletin of the British Museum (Natural History), Zoology Series', 1], ['Evolutionary Systematics', 2], ['Invertebrate systematics', 1], ['Public Library of Science, ONE', 1], ['Records of the Zoological Survey of India', 1], ['Species Diversity', 1], ['Transactions of the Linnean Society of London, Second Series. Zoology', 1], ['ZooKeys', 8], ['Zoological Science', 2], ['Zoosystematics and Evolution', 5], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=27)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);