function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Gosohorsky', 1], ['Annales Societe Entomologique France', 6], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 5], ['J. Frank', 1], ['Leopold Voss', 4], ['Memoires. Societe des Sciences de Liège', 1], ['Mich. Friedr. Bartsch', 1], ['Opuscoli Scientifici, Bologna', 1], ['Proceedings of the Royal Entomological Society of London', 3], ['Smithsonian Miscellaneous Collections', 2], ['Supplementum Entomologiae systematicae', 4], ['Transactions of the Entomological Society of London', 4], ['Wiener Entomologische Monatschrift', 8], ['Zoologisches Magazin', 1], ['Zoologisches Magazin Wiedemann', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=44)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);