function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the American Museum of Natural History', 12], ['Check List', 1], ['Fuchs et Delalain fils', 5], ['Geodiversitas', 3], ['Herpetological Notices', 1], ['Joan Thomae', 3], ['Journal of Natural History', 1], ['Molecular Phylogenetics and Evolution', 1], ['Palaeontologia Electronica', 1], ['Zoosystema', 1], ['Zoosystematics and Evolution', 1], ['Zootaxa', 31] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=61)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);