function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Memoirs of the College of Science, Kyoto Imperial University, Series B', 1], ['Proceedings of the Zoological Society of London', 5], ['Records of the Western Australian Museum', 2], ['Ruthenica, Russian Malacological Journal', 1], ['Strombus', 1], ['U. S. Geological Survey, Professional Paper', 1], ['Visaya', 1], ['Zoosystema', 4], ['Zootaxa', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=22)', 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);