function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Arachnologica', 12], ['Arthropoda Selecta', 2], ['Biodiversity Data Journal', 6], ['Bulletin of the National Science Museum, Series A, Zoology', 4], ['Evolutionary Systematics', 5], ['Far Eastern Entomologist', 1], ['Raffles Bulletin of Zoology', 2], ['State Fauna Series 4 Fauna of Meghalaya Part 2', 3], ['UPLB Museum Publications in Natural History', 1], ['ZooKeys', 5], ['Zoosystema', 4], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=47)', 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);