function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 24], ['Check List', 8], ['European Journal of Taxonomy', 34], ['Hallageriis', 5], ['Journal of Natural History', 86], ['Nauplius', 57], ['Palaeoentomology', 12], ['Papéis Avulsos de Zoologia', 20], ['Phytotaxa', 5], ['Raffles Bulletin of Zoology', 63], ['Records of the Australian Museum', 35], ['ZooKeys', 7], ['Zoological Journal of the Linnean Society', 37], ['Zoosystema', 13], ['Zootaxa', 1109], ['Other (25)', 40] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1555)', 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);