function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 12], ['European Journal of Taxonomy', 12], ['Japanese Journal of Systematic Entomology', 19], ['Journal of Natural History', 119], ['Linzer biologische Beiträge', 56], ['Mémoires Présentés par Divers Savans à l\'Académie Royale des Sciences de l\'Institut de France, et Imprimés par son Ordre', 98], ['Papéis Avulsos de Zoologia', 11], ['Phytotaxa', 3], ['Proceedings of the Biological Society of Washington', 17], ['Schulz-Wundermann', 8], ['Species Diversity', 3], ['Turkish Journal of Zoology', 5], ['ZooKeys', 21], ['Zoodiversity', 27], ['Zootaxa', 978], ['Other (16)', 19] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1408)', 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);