function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Benjamin White and Son', 3], ['Biodiversity Data Journal', 14], ['British Museum (Natural History) British Antarctic (" Terra Nova ") Expedition, 1910 Zoology', 3], ['F. Varrentrapp', 5], ['Journal of Natural History', 1], ['Pacific Science', 1], ['Poisson', 1], ['Report on the scientific results of the voyage of H. M. S. Challenger', 13], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 8], ['Zoologische Mededelingen, Leiden', 36], ['Zoosystema', 7], ['Zootaxa', 184] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=279)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);