function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 4], ['Journal of Natural History', 6], ['Micronesica', 1], ['Turin, De l\'imprimerie royale', 1], ['ZooKeys', 14], ['Zoologische Mededelingen, Leiden', 4], ['Zoosystema', 3], ['Zootaxa', 39] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=72)', 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);