function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Handbook of the Mammals of the World – Volume 7 Rodents II', 66], ['Journal of Natural History', 6], ['Mammal Species of the World (1 st Edition)', 64], ['Mammal Species of the World (2 nd Edition)', 57], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 2', 67], ['Records of the Australian Museum', 18], ['Zoosystema', 2], ['Zootaxa', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=294)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);