function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 1], ['American Museum Novitates', 5], ['Bulletin of the American Museum of Natural History', 13], ['Doklady Akademii Nauk SSSR', 2], ['Fossil Imprint', 2], ['Geodiversitas', 5], ['Geological Survey of Canada Contributions to Canadian Palaeontology', 2], ['Journal of Vertebrate Paleontology', 2], ['Monograph of the Palaeontological Society', 2], ['Transactions of the Geological Society of London', 1], ['Zoological Journal of the Linnean Society', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=39)', 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);