function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Algemeene Konst- en Letter-Bode', 1], ['Bulletin de la Société Philomathique de Paris, Série 7', 2], ['Bulletin of the Fan Memorial Institute of Biology', 1], ['European Journal of Taxonomy', 1], ['Journal Shanghai Sci. Inst., Section 3', 1], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 1], ['Proceedings of the Zoological Society of London, B', 1], ['Zoological Journal of the Linnean Society', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=12)', 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);