function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Constable', 1], ['Allattani Küzlem. Budapest', 2], ['American Museum Novitates', 1], ['Anzeiger', 2], ['Arch. Mus. Lyon', 1], ['Atti della Società Italiana di Scienze Naturali e del Museo Civico di Storia Naturale di Milano', 3], ['Bulletin of the Southern California Academy of Sciences', 4], ['Copeia', 10], ['Field Columbian Museum Zoological Series', 1], ['Hydrobiologia', 1], ['Journal and Proceedings of the Asiatic Society of Bengal', 1], ['Miscellaneous Publications of the Museum of Zoology University of Michigan', 1], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 3], ['Records of the Indian Museum', 2], ['Other (6)', 6] ]); 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);