function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. F. Rose', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['European Journal of Taxonomy', 1], ['F. Schoell', 2], ['Japanese Journal of Ichthyology', 2], ['New Zealand Journal of Science and Technology', 1], ['Panckoucke', 1], ['Special Bulletin of the United States National Museum', 1], ['Voprosy Ikhtiologii', 1], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=15)', 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);