function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoológica Lilloana', 7], ['Biodiversity Data Journal', 20], ['Bulletin of the British Ornithologists’ Club', 12], ['Check List', 11], ['Déterville', 2], ['G. Levrault', 10], ['Historical Biology', 2], ['J. Dixwell', 2], ['Laurentius Salvius', 27], ['London', 2], ['Papéis Avulsos de Zoologia', 3], ['Transactions of the Linnean Society of London', 4], ['Utrecht', 4], ['Zoosystema', 13], ['Zootaxa', 19], ['Other (10)', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=148)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);