function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['BMC Evolutionary Biology', 1], ['Bulletin of the American Museum of Natural History', 5], ['Bulletin of the Florida Museum of Natural History', 1], ['Contributions from the Biological Laboratory, Kyoto University', 1], ['Copeia', 1], ['Geodiversitas', 5], ['Joan Thomae', 8], ['Joh. Jos. Mayers', 1], ['Palaeontologia Electronica', 1], ['Vertebrate Zoology', 1], ['Zootaxa', 39] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=64)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);