function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arthropoda Selecta', 8], ['Biodiversity Data Journal', 14], ['Caucasiana', 1], ['Far Eastern Entomologist', 1], ['Riceland Spiders of South and Southeast Asia', 1], ['VERLAG VON LEOPOLD VOSS, BUCHHAENDLER D. K. ACADEHIE D. WISSENSCHAFTEN ZU ST. PETERSBURG', 1], ['ZooKeys', 4], ['Zoosystema', 6], ['Zootaxa', 17] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=53)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);