function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arthropoda Selecta', 1], ['European Journal of Taxonomy', 3], ['Iheringia, Série Zoologia', 10], ['Journal of Natural History', 14], ['Nauplius', 3], ['Subterranean Biology', 3], ['ZooKeys', 6], ['Zoological Journal of the Linnean Society', 8], ['Zoosystema', 7], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=62)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);