function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 90], ['Biodiversity Data Journal', 199], ['European Journal of Taxonomy', 197], ['Geodiversitas', 183], ['Journal of Natural History', 325], ['Laurentius Salvius', 144], ['Memoirs of the Queensland Museu Nature', 128], ['Raffles Bulletin of Zoology', 88], ['Records of the Australian Museum', 250], ['Revue suisse de Zoologie', 167], ['Zitteliana', 139], ['ZooKeys', 711], ['Zoological Journal of the Linnean Society', 148], ['Zoosystema', 86], ['Zootaxa', 4441], ['Other (153)', 775] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=8071)', 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);