function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Archives Néerlandaises des Sciences Exactes et Naturelles', 3], ['Australian zoologist', 1], ['Bulletin of the Raffles Museum', 2], ['Bulletin of the United States Fish Commission', 1], ['Bulletin of the United States National Museum', 1], ['Hong Kong Naturalist', 2], ['Ichthyological Bulletin of the J. L. B. Smith Institute of Ichthyology', 2], ['Journal of Natural History', 1], ['Journal of the Bombay Natural History Society', 1], ['Lingnan Science Journal', 1], ['Newspaper Enterprise, Ltd.', 3], ['Proceedings of the United States National Museum, 3', 2], ['Publications of the Field Museum of Natural History, Zoölogical', 3], ['Sinensia', 2], ['Zootaxa', 10], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=40)', 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);