function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 2], ['Annales du Musée du Congo Belge, Série 1, Zoologiques', 4], ['Bulletin de la Société Zoologique de France', 1], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 2], ['Kungliga Svenska Vetenskapsakademiens Handlingar', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Biological Society of Washington', 1], ['Sitzungsberichte der Gesellschaft Naturforschender Freunde zu Berlin', 1], ['The Journal of the Linnean Society of London, Zoology', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=14)', 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);