function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Arachnologica', 2], ['BioFormosa', 1], ['Biodiversity Data Journal', 1], ['Entomon', 1], ['Fauna of West Bengal Part 3 (Arachnida and acari)', 3], ['Forest Spiders of South East Asia With a revision of the sac and ground spiders- Family Liocranidae (Oedignatha)', 6], ['JOURNAL, BOMBAY NATURAL HISTORY SOCIETY', 1], ['Phelsuma', 2], ['Raffles Bulletin of Zoology', 1], ['Riceland Spiders of South and Southeast Asia', 1], ['State Fauna Series 4 Fauna of Meghalaya Part 2', 2], ['ZooKeys', 3], ['Zoological Systematics', 2], ['Zoos\' Print Journal', 1], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=30)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);