function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 3], ['Biodiversity Data Journal', 167], ['Boletín de la Real Sociedad Española de Historia Natural', 2], ['Bulletin of the National Science Museum, Series A (Zoology)', 32], ['European Journal of Taxonomy', 12], ['Hydrobiologia', 3], ['Journal of Natural History', 22], ['Journal of the Marine Biological Association of the United Kingdom', 4], ['Proceedings of the Biological Society of Washington', 7], ['Proceedings of the Japanese Society of Systematic Zoology', 2], ['Scientia Marina', 3], ['Species Diversity', 3], ['ZooKeys', 64], ['Zoological Journal of the Linnean Society', 11], ['Zootaxa', 512], ['Other (13)', 13] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=860)', 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);