function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Arachnologische Mitteilungen', 2], ['Arthropoda Selecta', 1], ['Biodiversity Data Journal', 18], ['Caucasian Entomological Bulletin', 4], ['Far Eastern Entomologist', 1], ['Raffles Bulletin of Zoology', 7], ['Sitzungsberichte der Gesellschaft Naturforschender Freunde zu Berlin', 1], ['State Fauna Series 4 Fauna of Meghalaya Part 2', 2], ['UPLB Museum Publications in Natural History', 1], ['ZooKeys', 2], ['Zoodiversity', 1], ['Zoological Systematics', 8], ['Zoosystema', 7], ['Zootaxa', 38] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=93)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);