function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 2], ['European Journal of Taxonomy', 17], ['Geodiversitas', 1], ['Johan. Christi. Trappii', 4], ['Journal of Natural History', 3], ['Journal of the Royal Society of New Zealand', 1], ['Papéis Avulsos de Zoologia', 1], ['Phytotaxa', 2], ['Publications of the Carnegie Institution of Washington', 1], ['Ruthenica, Russian Malacological Journal', 2], ['U. S. Geological Survey, Professional Paper', 4], ['Visaya', 4], ['Zoological Science', 2], ['Zoosystematics and Evolution', 5], ['Zootaxa', 82] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=131)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);