function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 8], ['Biodiversity Data Journal', 28], ['Botanica Marina', 30], ['Cryptogamie, Mycologie', 103], ['European Journal of Taxonomy', 6], ['Far Eastern Entomologist', 7], ['Journal of Natural History', 5], ['MycoKeys', 275], ['Phytochemistry', 7], ['Phytotaxa', 496], ['Records of the Australian Museum', 9], ['ZooKeys', 11], ['Zoological Journal of the Linnean Society', 14], ['Zoosystema', 26], ['Zootaxa', 41], ['Other (26)', 56] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1122)', 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);