function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 2], ['Annals and magazine of natural history', 11], ['Biodiversity Data Journal', 20], ['Birkhaeuser Verlag', 2], ['Bulletin of Marine Science', 1], ['Journal of Systematic Palaeontology', 27], ['Journal of Threatened Taxa', 8], ['Memoirs of Museum Victoria', 46], ['MycoKeys', 3], ['NZOI records', 3], ['Species Diversity', 9], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 46], ['Zoosystema', 254], ['Zootaxa', 478], ['Other (7)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=920)', 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);