function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the Biogeographical Society of Japan', 1], ['Bulletin of the Faculty of Fisheries Hokkaido University', 1], ['Copeia', 1], ['European Journal of Taxonomy', 1], ['Galathea Report', 1], ['J. L. B. Smith Institute of Ichthyology Special Publication', 1], ['Journal and Proceedings of the Asiatic Society of Bengal', 1], ['Quarterly Journal of the Taiwan Museum', 1], ['Report of the Fisheries and Marine Biological Survey, Union of South Africa', 2], ['Sci. Reports, John Murray Exped.', 1], ['Voprosy Ikhtiologii', 1], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=19)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);