function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Bulletin of the American Museum of Natural History', 9], ['Handbook of the Mammals of the World – Volume 9 Bats', 11], ['J. G. Cotta\'schen Buchhandlung', 1], ['Journal of Mammalogy', 1], ['Mammal Species of the World (1 st Edition)', 7], ['Mammal Species of the World (2 nd Edition)', 6], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 13], ['ZooKeys', 1], ['Zoosystema', 6], ['Zootaxa', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=61)', 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);