function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Venezuelica', 1], ['Aquarien und Terrarien Zeitschrift', 1], ['Beaufortia', 1], ['Bonner Zoologische Monographien', 5], ['Bonner zoologische Beiträge', 1], ['Buntbarsche Bull.', 1], ['Das Aquarium', 2], ['Dtsch. Cichliden-Ges. Inf.', 1], ['Ichthyological Exploration of Freshwaters', 1], ['Neotropical Ichthyology', 3], ['Senckenbergiana Biologica', 3], ['Vertebrate Zoology', 5], ['Zoologica Scripta', 5], ['Zoologischer Anzeiger', 2], ['Zootaxa', 2], ['Other (7)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=41)', 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);