function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anales de la Escuela Nacional de Ciencias Biologicas', 1], ['Annotationes Zoologicae Japonenses', 1], ['Archiv für Naturgeschichte', 2], ['Beverley Tucker', 3], ['Biodiversity Data Journal', 2], ['Canadian Journal of Zoology', 3], ['Copeia', 2], ['Dnevn. Zool. Otd. Obsc. Liub. Jest. Moskva', 2], ['European Journal of Taxonomy', 31], ['Geodiversitas', 3], ['Journal of the Fisheries Research Board of Canada', 2], ['Laurentius Salvius', 4], ['Miscellaneous Publications of the Museum of Zoology University of Michigan', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Zootaxa', 15], ['Other (12)', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=87)', 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);