function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Koenig', 2], ['Bulletin of the American Museum of Natural History', 1], ['Geodiversitas', 8], ['Herpetozoa', 2], ['Laurentii Salvii', 1], ['Laurentius Salvius', 12], ['London', 1], ['Megataxa', 17], ['Panckoucke', 5], ['Proceedings of the California Academy of Sciences, Series 4', 4], ['The American Geologist', 1], ['Zoodiversity', 1], ['Zootaxa', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=67)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);