function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 4], ['Bulletin of Entomological Research', 14], ['Entomophaga', 3], ['Fragmenta Faunistica', 1], ['Insects of Guam I', 1], ['Journal Aust Ent Soc', 1], ['Journal N Y Ent Soc', 1], ['Linzer biologische Beiträge', 1], ['Trans R Soc S Aust', 1], ['Transactions of the American Entomological Society', 12], ['ZooKeys', 4], ['Zoosystema', 1], ['Zootaxa', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=49)', 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);