function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zootaxonomica Sinica', 1], ['Bulletin des Travaux Publiés par la Station d’Aquiculture et de Pêche de Castiglione', 1], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 1], ['European Journal of Taxonomy', 1], ['Journal of the Washington Academy of Sciences', 1], ['Mem. Mus. Bocage, Lisboa', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Records of the Australian Museum', 1], ['Schweizerbart', 1], ['Voprosy Ikhtiologii', 2], ['Zootaxa', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=16)', 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);