function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Bulletin B P Bishop Mus', 1], ['Journal of Natural History', 3], ['Linzer biologische Beiträge', 4], ['Memoires de la Société (Royale) des Sciences, de l\'Agriculture et des Arts à Lille', 2], ['Phytotaxa', 1], ['ZooKeys', 10], ['Zoosystema', 12], ['Zootaxa', 66] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=100)', 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);