function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annalen des K. K. Naturhistorischen Hofmuseums in Wien', 3], ['Annals of the Carnegie Museum', 2], ['Biodiversity Data Journal', 2], ['Blätter für Aquarien- und Terrarien-Kunde', 1], ['Bol. Biol. Sao Paulo', 2], ['Check List', 1], ['Ichthyological exploration of freshwaters', 1], ['Memoires de la Sociedad de Ciencias Naturales La Salle', 1], ['Neotropical Ichthyology', 4], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the California Academy of Sciences, Series 2', 1], ['Stanford Ichthyological Bulletin', 1], ['Transactions of the Zoological Society of London', 1], ['Zoologische Verhandelingen, Leiden', 1], ['Zootaxa', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=33)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);