function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 3], ['Bulletin du Muséum National d’Histoire Naturelle, [Série 1]', 1], ['Journal of Natural History', 29], ['Journal of Species Research', 3], ['Raffles Bulletin of Zoology', 3], ['Records of the Australian Museum', 10], ['Transactions of the Linnean Society of London, Second Series. Zoology', 1], ['ZooKeys', 21], ['Zoosystematics and Evolution', 4], ['Zootaxa', 157] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=232)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);