function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Abhandlungen der Königlichen Akademie der Wissenschaften zu Berlin', 1], ['Algemeene Konst- en Letter-Bode', 1], ['An. Mus. Nac. Chile, Zool.', 1], ['Annals of the Queensland Museum', 1], ['Bulletin of the American Museum of Natural History', 2], ['Bulletin of the United States National Museum', 1], ['Calcutta Journal of Natural History, and Miscellany of the Arts and Sciences in India', 1], ['European Journal of Taxonomy', 20], ['Journal of Natural History', 2], ['Proceedings of the Boston Society of Natural History', 2], ['Proceedings of the United States National Museum, 3', 2], ['Records of the Indian Museum', 2], ['Veit', 3], ['Zoological Journal of the Linnean Society', 11], ['Zootaxa', 100], ['Other (12)', 12] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=162)', 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);