function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Constable', 49], ['American Museum Novitates', 44], ['Asiatic Researches', 70], ['Biodiversity Data Journal', 55], ['Bulletin de la Société Zoologique de France', 31], ['Bulletin of the United States National Museum', 33], ['Ichthyological Exploration of Freshwaters', 32], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 125], ['Proceedings of the United States National Museum, 3', 52], ['Proceedings of the Zoological Society of London, B', 75], ['Raffles Bulletin of Zoology', 103], ['Records of the Indian Museum', 39], ['Turkish Journal of Zoology', 129], ['ZooKeys', 41], ['Zootaxa', 1096], ['Other (348)', 1544] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=3518)', 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);