function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 15], ['Biodiversity Data Journal', 4], ['Bulletin of the American Museum of Natural History', 5], ['Check List', 1], ['Entomo Helvetica', 1], ['European Journal of Taxonomy', 1], ['Journal of Natural History', 6], ['Journal of Species Research', 1], ['Linzer biologische Beiträge', 17], ['MycoKeys', 31], ['Mémoires du Muséum national d\'Histoire naturelle', 8], ['Phytotaxa', 18], ['Records of the Australian Museum', 4], ['Zoological Journal of the Linnean Society', 1], ['Zootaxa', 454] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=567)', 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);