function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bronner', 1], ['Bulletin of Marine Science', 1], ['Bulletin of the United States Fish Commission', 2], ['European Journal of Taxonomy', 1], ['F. S. Hübschmann, Monachii [= Munich] & Fleischer, Lipsiae [= Leipzig]', 1], ['Journal of Natural History', 1], ['Memoirs of the Carnegie Museum', 1], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 1], ['Proceedings of the United States National Museum, 3', 2], ['Raffles Bulletin of Zoology', 1], ['Repertorio Fisico-Natural de la Isla de Cuba', 1], ['Report of the British Association for the Advancement of Science', 1], ['Revue française d\'Aquariologie Herpétologie', 2], ['Zootaxa', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=21)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);