function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amurian Zoological Journal', 5], ['Annales de la Société Scientifique de Bruxelles. Memoires', 4], ['Entomo Helvetica', 4], ['Journal of Natural History', 1], ['Records of the Western Australian Museum Supplement', 2], ['Schulz-Wundermann', 4], ['ZooKeys', 4], ['Zoosystematica Rossica', 1], ['Zootaxa', 26] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=51)', 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);