function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Atlantide Report', 1], ['Journal of Natural History', 1], ['Journal of the Academy of Natural Sciences of Philadelphia, Second Series', 1], ['Natural History of Rennell Island', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Biological Society of Washington', 1], ['Proceedings of the United States National Museum, 3', 2], ['Repertorio Fisico-Natural de la Isla de Cuba', 1], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=13)', 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);