function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 9], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 3], ['Bulletin of the American Museum of Natural History', 10], ['Check List', 1], ['Handbook of the Mammals of the World – Volume 5 Monotremes and Marsupials', 8], ['Journal of Mammalogy', 2], ['Mammal Species of the World (2 nd Edition)', 9], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 14], ['Zoological Journal of the Linnean Society', 24], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=81)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);