function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Abhandlungen Naturwissenschaftlichen Vereins zu Hamburg', 1], ['Anales de la Sociedad Española de Historia Natural', 1], ['Archiv für Naturgeschichte', 3], ['Calcutta Journal of Natural History, and Miscellany of the Arts and Sciences in India', 4], ['Cybium', 2], ['European Journal of Taxonomy', 2], ['Fujian Science & Technology Press', 2], ['Hoffmann', 1], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 4], ['Proceedings of the United States National Museum, 3', 2], ['Proceedings of the Zoological Society of London, B', 2], ['Raffles Bulletin of Zoology', 2], ['Species Diversity', 2], ['Zoological Miscellany', 2], ['Zootaxa', 20], ['Other (10)', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=60)', 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);