function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arachnologische Mitteilungen', 1], ['Arthropoda Selecta', 2], ['Biodiversity Data Journal', 11], ['Caucasian Entomological Bulletin', 4], ['European Journal of Taxonomy', 1], ['Journal of Natural History', 2], ['State Fauna Series 4 Fauna of Meghalaya Part 2', 2], ['Vestnik Zoologii', 1], ['ZooKeys', 3], ['Zoosystema', 9], ['Zootaxa', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=47)', 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);