function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arachnologische Mitteilungen', 1], ['Arthropoda Selecta', 6], ['Biodiversity Data Journal', 72], ['Bulletin of the National Science Museum, Series A (Zoology)', 2], ['Caucasian Entomological Bulletin', 4], ['Caucasiana', 1], ['Far Eastern Entomologist', 5], ['State Fauna Series 4 Fauna of Meghalaya Part 2', 9], ['ZooKeys', 23], ['Zoodiversity', 1], ['Zoosystema', 27], ['Zootaxa', 30] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=181)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);