function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin -- United States National Museum', 4], ['Bulletin du Muséum National d’Histoire Naturelle, [Série 1]', 1], ['Bulletin of the United States Bureau of Fisheries', 1], ['Journal of the Straits Branch of the Royal Asiatic Society', 1], ['Ray Society', 3], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 2], ['Zoologiska Bidrag från Uppsala', 1], ['Zoosystema', 2], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=18)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);