function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Edinburgh encyclopaedia, conducted by David Brewster', 1], ['European Journal of Taxonomy', 2], ['Journal of Natural History', 38], ['Journal of Species Research', 7], ['Papéis Avulsos de Zoologia', 1], ['Records of the Australian Museum', 16], ['Transactions of the Royal Society of New Zealand', 1], ['ZooKeys', 17], ['Zootaxa', 199] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=282)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);