function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['British Museum (Natural History)', 1], ['Bulletin U S Fish Comm', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['Check List', 3], ['Edinburgh encyclopaedia, conducted by David Brewster', 1], ['European Journal of Taxonomy', 4], ['Journal of Natural History', 2], ['PeerJ', 3], ['Raffles Bulletin of Zoology', 2], ['Report on the Scientific Results of the Voyage of H. M. S. “ Challenger ” during the Years 1873 - 76 under the Command of Captai', 5], ['Zoological Journal of the Linnean Society', 8], ['Zoological Systematics', 32], ['Zoosystema', 18], ['Zootaxa', 221], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=308)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);