function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the United States National Museum', 3], ['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], ['New Zealand Journal of Zoology', 3], ['Pacific Science', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 4], ['Proceedings of the Royal Society of Queensland', 2], ['Publications of the Field Museum of Natural History, Zoölogical', 3], ['Records of the Australian Museum', 4], ['Records of the Western Australian Museum', 4], ['Zoological Journal of the Linnean Society', 5], ['Zootaxa', 20], ['Other (27)', 30] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=101)', 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);