function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 11], ['Bulletin of the National Science Museum, Series A (Zoology)', 10], ['European Journal of Taxonomy', 38], ['Fragmenta Faunistica', 11], ['Journal of Natural History', 145], ['Journal of Species Research', 5], ['Records of the Australian Museum', 40], ['Species Diversity', 7], ['Subterranean Biology', 5], ['ZooKeys', 120], ['ZooNotes', 18], ['Zoological Journal of the Linnean Society', 86], ['Zoological Science', 5], ['Zoosystematics and Evolution', 16], ['Zootaxa', 390], ['Other (23)', 37] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=944)', 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);