function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 3], ['Annual Report on the New York State Museum of Natural History', 1], ['Biodiversity Data Journal', 114], ['Boletín de la Real Sociedad Española de Historia Natural', 2], ['Bulletin de la Société Impériale des Naturalistes de Moscou', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 23], ['European Journal of Taxonomy', 9], ['Fauna norvegica', 1], ['Journal of Marine Biology Association of the United Kingdom', 1], ['Journal of Natural History', 20], ['Proceedings of the Biological Society of Washington', 7], ['Species Diversity', 3], ['ZooKeys', 73], ['Zoological Journal of the Linnean Society', 10], ['Zootaxa', 405], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=679)', 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);