function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Société Impériale d\'Agriculture, Histoire Naturelle de Lyon', 1], ['Annals of the Lyceum of Natural History of New York', 1], ['Anzeiger', 1], ['Carnegie Institution of Washington Publication', 2], ['Copeia', 4], ['Field Columbian Museum Zoological Series', 6], ['Miscellaneous Publications of the Museum of Zoology University of Michigan', 2], ['Naturhistoriska Riksmuseet', 7], ['Pacific Science', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 4], ['Publications of the Field Museum of Natural History, Zoölogical', 3], ['Revista de Biologia Tropical', 2], ['Royal Ontario Museum Life Science Contributions', 2], ['Schmerber', 2], ['Zootaxa', 3], ['Other (10)', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=52)', 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);