function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Benjamin White and Son', 1], ['Biodiversity Data Journal', 13], ['British Museum', 1], ['Bulletin du Muséum national d’Histoire naturelle', 1], ['Bulletin of the Museum of Comparative Zoology at Harvard College', 3], ['G. Reimer', 1], ['Laurentius Salvius', 6], ['ZooKeys', 7], ['Zootaxa', 25] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=58)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);