function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and magazine of natural history', 16], ['Biodiversity Data Journal', 53], ['Birkhaeuser Verlag', 3], ['European Journal of Taxonomy', 25], ['Journal of Systematic Palaeontology', 27], ['Journal of Threatened Taxa', 8], ['Laurentius Salvius', 13], ['Memoirs of Museum Victoria', 46], ['NZOI records', 6], ['PeerJ', 3], ['Species Diversity', 12], ['ZooKeys', 25], ['Zoological Journal of the Linnean Society', 109], ['Zoosystema', 475], ['Zootaxa', 650], ['Other (20)', 24] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1495)', 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);