function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Biol. Results " Endeavour "', 1], ['Bulletin of Marine Science', 4], ['Bulletin of the United States Fish Commission', 1], ['Bulletin of the Vanderbilt Marine Museum', 1], ['European Journal of Taxonomy', 1], ['F. G. Levrault', 1], ['Journal of Natural History', 1], ['Mémoires de la Société Linnéenne de Paris', 1], ['Privately published', 1], ['Proceedings of the California Academy of Sciences, Series 4', 1], ['Proceedings of the Linnean Society of New South Wales', 1], ['Report of the British Association for the Advancement of Science', 1], ['Sitzungsberichte der Gesellschaft Naturforschender Freunde zu Berlin', 2], ['Zootaxa', 5], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=25)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);