function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arthropod Systematics & amp; Phylogeny', 5], ['Biodiversity Data Journal', 26], ['European Journal of Entomology', 1], ['European Journal of Taxonomy', 4], ['Far Eastern Entomologist', 6], ['Florida entomologist', 1], ['Journal of Entomology and Zoology', 1], ['Journal of Natural History', 9], ['Revue suisse de Zoologie', 3], ['ZooKeys', 45], ['Zoologia', 5], ['Zoological Systematics', 4], ['Zoological studies', 13], ['Zoosystema', 168], ['Zootaxa', 528], ['Other (7)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=826)', 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);