function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['British Museum', 34], ['Bulletin of the American Museum of Natural History', 1], ['G. Braumƒller; A. Deyrolle; F. A. Brockhaus', 1], ['Insecta Mundi', 2], ['Insects of Guam II', 1], ['Subterranean Biology', 1], ['Transactions of the Royal Society of South Australia', 1], ['ZooKeys', 2], ['Zoologischer Anzeiger', 1], ['Zootaxa', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=59)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);