function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Algemeene Konst- en Letter-Bode', 1], ['Anzeiger', 3], ['Biodiversity Data Journal', 2], ['Bulletin of Marine Science', 2], ['Check List', 2], ['Journal of Natural History', 3], ['Journal of the Academy of Natural Sciences of Philadelphia', 2], ['Journal of the Bombay Natural History Society', 2], ['Natuurkunde Tijdschrift voor Nederlandsche-Indiƫ', 4], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 3], ['Proceedings of the Biological Society of Washington', 6], ['Proceedings of the United States National Museum, 3', 3], ['Publications of the Field Museum of Natural History, Zoƶlogical', 3], ['Transactions of the Royal Society of South Africa.', 2], ['Zootaxa', 39], ['Other (28)', 28] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=105)', 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);