function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Ichthyologica et Piscatoria', 2], ['Bulletin of the United States Fish Commission', 1], ['Copeia', 1], ['E. J. Brill', 1], ['Indo-Pacific Fishes', 4], ['Japanese Journal of Ichthyology', 1], ['Proceedings of the California Academy of Sciences, Series 4', 2], ['Proceedings of the United States National Museum, 3', 2], ['Report of the Fisheries and Marine Biological Survey, Union of South Africa', 1], ['Zootaxa', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=23)', 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);