function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Academy of Natural Sciences', 82], ['Annals of the Lyceum of Natural History of New York', 15], ['F. A. Brockhaus', 11], ['Gebrüder Paetel', 6], ['Journal de Conchyliologie', 12], ['Nautilus', 12], ['Press Publishing Company', 11], ['Proceedings of the Boston Society of Natural History', 7], ['Proceedings of the Zoological Society of London', 71], ['Reeve & Benham', 12], ['University Press', 11], ['ZooKeys', 12], ['Zoological Society of London', 29], ['Zoosystema', 11], ['Zootaxa', 7], ['Other (20)', 48] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=357)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);