function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 4], ['Check List', 5], ['European Journal of Taxonomy', 13], ['Evolutionary Systematics', 1], ['Herpetozoa', 3], ['Japanese Journal of Herpetology', 3], ['Journal of Natural History', 5], ['Raffles Bulletin of Zoology', 2], ['Vertebrate Zoology', 5], ['ZooKeys', 20], ['Zootaxa', 218] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=279)', 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);