function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['FishTaxa', 1], ['Journal of Threatened Taxa', 1], ['Raffles Bulletin of Zoology', 1], ['Records of the Zoological Survey of India', 2], ['Turkish Journal of Zoology', 15], ['ZooKeys', 1], ['Zoological Journal of the Linnean Society', 6], ['Zoosystematics and Evolution', 7], ['Zootaxa', 100] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=134)', 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);