function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Venezuelica', 1], ['Annalen des Naturhistorischen Museums in Wien', 6], ['Annals of the Carnegie Museum', 3], ['Annals of the Lyceum of Natural History of New York', 1], ['Anzeiger', 1], ['Archiv für Naturgeschichte', 2], ['Check List', 3], ['European Journal of Taxonomy', 8], ['Historia Natural', 2], ['Ichthyological Exploration of Freshwaters', 7], ['Neotropical Ichthyology', 19], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 3], ['Proceedings of the American Philosophical Society', 2], ['University of Amsterdam', 7], ['Zootaxa', 9], ['Other (8)', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=82)', 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);