function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 24], ['Bulletin of the Florida State Museum, Biological Sciences', 1], ['Check List', 4], ['G. Levrault', 1], ['Gabriel Nicolaus Raspe', 1], ['Laurentius Salvius', 12], ['Papéis Avulsos de Zoologia', 2], ['Records of the Australian Museum', 2], ['Utrecht', 1], ['Zoological Journal of the Linnean Society', 1], ['Zoosystema', 12], ['Zoosystematics and Evolution', 1], ['Zootaxa', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=73)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);