function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 4], ['Ameghiniana', 1], ['American Museum Novitates', 17], ['Bulletin of the American Museum of Natural History', 6], ['Bulletin of the Florida Museum of Natural History', 2], ['Geodiversitas', 3], ['Journal of Vertebrate Paleontology', 1], ['Zoological Journal of the Linnean Society', 13], ['Zootaxa', 46] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=93)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);