function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 26], ['African invertebrates', 2], ['Biodiversity Data Journal', 3], ['Boletín del Museo Nacional de Historia Natural, Chile, (Bol. Mus. Nac. Hist. Nat. Chile)', 1], ['European Journal of Taxonomy', 2], ['Iberus: Revista de la Sociedad Española de Malacología', 1], ['PaleoBios', 5], ['ZooKeys', 20], ['Zoological Science', 2], ['Zoosystema', 15], ['Zootaxa', 40] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=117)', 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);