function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bronner', 1], ['Gayana, Zoologia', 1], ['Jornal de Sciencias Mathematicas, Physicas e Naturaes', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 1], ['Nouvelles Archives du Muséum d\'Histoire Naturelle, Paris, Série 2', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Proceedings of the United States National Museum, 3', 2], ['Proceedings of the Zoological Society of London, B', 1], ['The Zoological Journal', 2], ['Zootaxa', 5], ['l\'Impremerie Nationale', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=18)', 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);