function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 4], ['Bulletin of the American Museum of Natural History', 36], ['G. Leigh, J. & S. Sotheby', 1], ['G. Levrault', 1], ['Gabriel Nicolaus Raspe', 1], ['J. C. Kall', 1], ['Laurentius Salvius', 13], ['Proceedings of the Zoological Society of London', 2], ['Raffles Bulletin of Zoology', 1], ['Zoosystema', 2], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=65)', 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);