function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Benjamin White and Son', 5], ['Biodiversity Data Journal', 72], ['British Museum', 7], ['E. J. Brill', 19], ['European Journal of Taxonomy', 27], ['Journal of Natural History', 86], ['Laurentius Salvius', 28], ['Proceedings of the California Academy of Sciences', 5], ['Raffles Bulletin of Zoology', 5], ['Species Diversity', 10], ['ZooKeys', 271], ['Zoological Journal of the Linnean Society', 10], ['Zoologische Mededelingen, Leiden', 4], ['Zoosystema', 23], ['Zootaxa', 777], ['Other (36)', 48] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1397)', 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);