function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archiv für Naturgeschichte', 1], ['Benham and Leeve', 5], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 2], ['Bulletin of the National Science Museum, Series A (Zoology)', 4], ['C. E. Bohn', 1], ['Crustacean Research.', 2], ['European Journal of Taxonomy', 7], ['Geodiversitas', 4], ['Proceedings of the Biological Society of Washington', 3], ['Raffles Bulletin of Zoology', 12], ['Species Diversity', 3], ['ZooKeys', 5], ['Zoological Science', 2], ['Zoosystema', 48], ['Zootaxa', 163], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=267)', 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);