function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 47], ['Annales du Museum National d\'Historie Naturelle, Paris', 1], ['Annales du Muséum d\'Histoire Naturelle, Paris', 1], ['Australasian Journal of Herpetology', 2], ['Bulletin of the American Museum of Natural History', 14], ['Check List', 2], ['Copeia', 2], ['Geodiversitas', 42], ['Joan Thomae', 1], ['Journal of Vertebrate Paleontology', 7], ['Mémoires du Muséum National d’Histoire Naturelle', 2], ['PeerJ', 2], ['ZooKeys', 8], ['Zoological Journal of the Linnean Society', 135], ['Zootaxa', 27], ['Other (7)', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=300)', 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);