function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australasian Journal of Herpetology', 3], ['Biodiversity Data Journal', 4], ['Check List', 5], ['Journal of Natural History', 1], ['Papéis Avulsos de Zoologia', 3], ['South American Journal of Herpetology', 27], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 1], ['Zootaxa', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=58)', 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);