function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Benjamin White and Son', 3], ['Biodiversity Data Journal', 4], ['British Museum (Natural History) British Antarctic (" Terra Nova ") Expedition, 1910 Zoology', 3], ['F. Varrentrapp', 5], ['Journal of Natural History', 1], ['Pacific Science', 1], ['Poisson', 1], ['Report on the scientific results of the voyage of H. M. S. Challenger', 3], ['Zoological Journal of the Linnean Society', 1], ['Zootaxa', 45] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=67)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);