function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 10], ['Check List', 2], ['Laurentii Salvii', 1], ['Laurentius Salvius', 20], ['Leigh, Sotheby & Son', 1], ['Neue nordische Beyträge', 1], ['Transactions of the Linnean Society of London', 3], ['Utrecht', 3], ['Zoosystema', 7], ['Zoosystematics and Evolution', 2], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=54)', 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);