function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Carolum Reichard', 1], ['Entomo Helvetica', 1], ['F. W. Forstmann', 12], ['Faunus (Gistel\'s)', 1], ['Journal of Natural History', 1], ['Linzer biologische Beiträge', 4], ['Proceedings of the United States National Museum, 3', 1], ['Prévôt', 1], ['Prévôt, Paris; Brive, Bourdeaux', 1], ['Rendiconto delle Sessioni dell’Accademia delle Scienze dell’Istituto di Bologna', 1], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=27)', 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);