function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 3], ['Arthropod Systematics & amp; Phylogeny', 13], ['Biodiversity Data Journal', 10], ['Caucasian Entomological Bulletin', 7], ['Deutsche Entomologische Zeitschrift', 5], ['Entomo Helvetica', 3], ['European Journal of Taxonomy', 13], ['Insect Systematics & Evolution', 6], ['Insect Systematics and Diversity', 8], ['Insecta Mundi', 150], ['Journal and Proceedings of the Linnean Society of London, Zoology', 15], ['Journal of Natural History', 4], ['ZooKeys', 3], ['Zoological Systematics', 6], ['Zootaxa', 393], ['Other (7)', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=648)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);