function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amurian Zoological Journal', 2], ['Arkiv för Zoologi', 4], ['Arthropod Systematics & amp; Phylogeny', 2], ['Bey dem Verfasser zu finden', 2], ['Biodiversity Data Journal', 9], ['Entomo Helvetica', 5], ['Far Eastern Entomologist', 8], ['Insect Systematics and Diversity', 8], ['Insecta Mundi', 7], ['Journal of Natural History', 4], ['Linzer biologische Beiträge', 14], ['List of the Specimens of Lepidopterous Insects in the Collection of the British Museum', 26], ['Transactions of the Entomological Society of London', 4], ['ZooKeys', 39], ['Zootaxa', 542], ['Other (8)', 13] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=689)', 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);