function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 101], ['Folia Entomológica Mexicana (nueva serie)', 1], ['Insect Systematics and Diversity', 2], ['Journal of Hymenoptera Research', 1], ['Southwestern Entomologist', 1], ['ZooKeys', 2], ['Zoological Journal of the Linnean Society', 1], ['Zoological Studies', 5], ['Zoological Systematics', 4], ['Zoosystema', 3], ['Zootaxa', 200] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=321)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);