function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin du Muséum National d’Histoire Naturelle, Série 4, Section B, Adansonia, Botanique, Phytochimie', 1], ['Bulletin of the British Museum (Natural History), Botany Series', 1], ['Gardens\' Bulletin (Singapore)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=4)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 3, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);