function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 12], ['African Invertebrates', 13], ['Arthropod Systematics & amp; Phylogeny', 22], ['Deutsche Entomologische Zeitschrift', 7], ['European Journal of Taxonomy', 43], ['Geodiversitas', 4], ['Insecta Mundi', 25], ['Journal of Natural History', 24], ['Laurentius Salvius', 4], ['Palaeoentomology', 8], ['Papéis Avulsos de Zoologia', 4], ['Proceedings of the Entomological Society of Washington', 5], ['ZooKeys', 43], ['Zoological Systematics', 7], ['Zootaxa', 172], ['Other (12)', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=407)', 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);