function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['British Museum', 1], ['Geodiversitas', 22], ['Handbook of the Mammals of the World – Volume 4 Sea Mammals', 3], ['Mammal Species of the World (1 st Edition)', 25], ['Mammal Species of the World (2 nd Edition)', 26], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 30], ['Report on the Scientific Results of the Voyage of H. M. S. “ Challenger ” during the Years 1873 - 76 under the Command of Captai', 1], ['Schmerber', 1], ['Zoological Journal of the Linnean Society', 2], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=114)', 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);