function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 5], ['Bulletin of the American Museum of Natural History', 19], ['Bulletin of the United States National Museum', 3], ['Check List', 3], ['Chinese Journal of Oceanology and Limnology', 4], ['Cybium', 4], ['European Journal of Taxonomy', 42], ['Journal of Natural History', 8], ['Memoirs of the Museum of Comparative Zoology, at Harvard College', 5], ['Memoirs of the National Museum of Victoria', 5], ['Neotropical Ichthyology', 4], ['Proceedings of the United States National Museum, 3', 4], ['Veit', 8], ['Zoological Journal of the Linnean Society', 18], ['Zootaxa', 447], ['Other (55)', 67] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=646)', 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);