function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Hallageriis', 1], ['Journal of the Academy of Natural Sciences of Philadelphia', 2], ['K. K. Hof-naturalien-cabinet', 1], ['Laurentius Salvius', 9], ['The Bulletin of the Russian Far East Malacological Society', 6], ['Transactions of the geological society of London, 2', 1], ['U. S. Geological Survey, Professional Paper', 1], ['ZooKeys', 6], ['Zootaxa', 27] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=55)', 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);