Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write an R program to read the following data and for barplot only the top seven states in the data for each column. like after
write an R program to read the following data and for barplot only the top seven states in the data for each column.
like after reading the data for barplot on x-axis we should get top seven states and population on y axis.
put the data file name as US_Educational_Demographics
Geography | Population 18 to 24 years | Population 18 to 24 years - Less than high school graduate | Population 18 to 24 years - High school graduate (includes equivalency) | Population 18 to 24 years - Some college or associate's degree | Population 18 to 24 years - Bachelor's degree or higher | Population 25 years and over | Population 25 years and over - Less than 9th grade | Population 25 years and over - 9th to 12th grade, no diploma | Population 25 years and over - High school graduate (includes equivalency) | Population 25 years and over - Some college, no degree |
Alabama | 474567 | 74167 | 146337 | 219193 | 34870 | 3261408 | 162018 | 334018 | 1009593 | 714201 |
Alaska | 78540 | 11687 | 30608 | 31234 | 5011 | 470699 | 12849 | 23183 | 130511 | 129498 |
Arizona | 668324 | 113051 | 209298 | 296547 | 49428 | 4440635 | 270834 | 340409 | 1078358 | 1130402 |
Arkansas | 287647 | 39588 | 93949 | 133025 | 21085 | 1973591 | 106297 | 185931 | 683886 | 446027 |
California | 3959511 | 519677 | 1149057 | 1913075 | 377702 | 25554412 | 2524636 | 2048327 | 5260904 | 5548479 |
Colorado | 522764 | 71670 | 150050 | 242768 | 58276 | 3590350 | 133525 | 190166 | 780033 | 795294 |
Connecticut | 348789 | 39536 | 99876 | 159872 | 49505 | 2466129 | 103279 | 139653 | 673220 | 427232 |
Delaware | 89588 | 13455 | 29120 | 37660 | 9353 | 640915 | 24114 | 47632 | 199461 | 124796 |
District of Columbia | 81327 | 8084 | 20021 | 34337 | 18885 | 462997 | 18612 | 27898 | 83367 | 62308 |
Florida | 1774488 | 283726 | 535190 | 807487 | 148085 | 14093687 | 735841 | 1071545 | 4111029 | 2897250 |
Georgia | 1014683 | 170885 | 315444 | 444077 | 84277 | 6589462 | 344716 | 588094 | 1850601 | 1383193 |
Hawaii | 132512 | 10230 | 51091 | 59826 | 11365 | 972945 | 38415 | 46528 | 270583 | 211228 |
Idaho | 156557 | 20953 | 54042 | 71737 | 9825 | 1047606 | 39750 | 65420 | 289085 | 280534 |
Illinois | 1242771 | 161805 | 347522 | 574204 | 159240 | 8618284 | 454757 | 553851 | 2287126 | 1815860 |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started