function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 18], ['Check List', 12], ['G. Levrault', 1], ['Isis von Oken', 2], ['Laurentii Salvii', 1], ['Laurentius Salvius', 9], ['Leigh, Sotheby & Son', 1], ['Nichols, son, and Bentley', 1], ['Papéis Avulsos de Zoologia', 3], ['Sumptibus C. Salfeld', 1], ['Treuttel', 1], ['Utrecht', 1], ['Zoosystema', 19], ['Zootaxa', 18] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=88)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);