function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Colonial Museum and Geological Survey Department', 1], ['New Zealand Institute', 1], ['The zoology of the voyage of H. M. S. Erebus & Terror, under the command of Captain Sir James Clark Ross, R. N., F. R. S., durin', 1], ['Zootaxa', 34] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=37)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 4, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);