function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 16], ['Botanica Marina', 29], ['Cryptogamie, Mycologie', 30], ['Far Eastern Entomologist', 7], ['Japanese Journal of Systematic Entomology', 2], ['Journal of Natural History', 2], ['MycoKeys', 203], ['Phytochemistry', 4], ['Phytotaxa', 300], ['Records of the Australian Museum', 2], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 1], ['Systematic Parasitology', 1], ['ZooKeys', 1], ['Zoosystema', 7], ['Zootaxa', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=615)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);