function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoologica Academiae Scientiarum Hungaricae', 3], ['African Invertebrates', 3], ['Archiv für Molluskenkunde', 55], ['Basteria', 1], ['Biodiversity Data Journal', 2], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['European Journal of Taxonomy', 21], ['Raffles Bulletin of Zoology', 18], ['The American Midland Naturalist', 2], ['Venus, Journal of the Malacological Society of Japan', 2], ['Vernate', 2], ['ZooKeys', 691], ['Zoosystema', 5], ['Zoosystematics and Evolution', 9], ['Zootaxa', 45], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=862)', 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);