function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Aqua, Journal of Ichthyology and Aquatic Biology', 3], ['Biodiversity Data Journal', 1], ['Bulletin du Muséum National d’Histoire Naturelle, Série 3, Zoologie', 2], ['Japanese Journal of Ichthyology', 3], ['Journal of South Asian Natural History', 1], ['Journal of the Ocean Science Foundation', 3], ['Pacific Science', 1], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=16)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);