function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Integrative Zoology', 1], ['Isis von Oken', 1], ['Journal of Natural History', 66], ['Raffles Bulletin of Zoology', 8], ['Records of the Australian Museum', 77], ['Species Diversity', 2], ['Subterranean Biology', 8], ['ZooKeys', 11], ['Zoosystema', 2], ['Zootaxa', 92] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=270)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);