Import data

## # A tibble: 2,973 Ă— 10
##    name     state state_code type  degree_length room_and_board in_state_tuition
##    <chr>    <chr> <chr>      <chr> <chr>         <chr>                     <dbl>
##  1 Aaniiih… Mont… MT         Publ… 2 Year        NA                         2380
##  2 Abilene… Texas TX         Priv… 4 Year        10350                     34850
##  3 Abraham… Geor… GA         Publ… 2 Year        8474                       4128
##  4 Academy… Minn… MN         For … 2 Year        NA                        17661
##  5 Academy… Cali… CA         For … 4 Year        16648                     27810
##  6 Adams S… Colo… CO         Publ… 4 Year        8782                       9440
##  7 Adelphi… New … NY         Priv… 4 Year        16030                     38660
##  8 Adirond… New … NY         Publ… 2 Year        11660                      5375
##  9 Adrian … Mich… MI         Priv… 4 Year        11318                     37087
## 10 Advance… Virg… VA         For … 2 Year        NA                        13680
## # ℹ 2,963 more rows
## # ℹ 3 more variables: in_state_total <dbl>, out_of_state_tuition <dbl>,
## #   out_of_state_total <dbl>

State one question

Which state has the lowest cost of tuition with all colleges combined, and which one has the highest cost?

The reason for this question is because some states have a higher cost of living, but offer similar degrees.

Plot data

Interpret

It is easier to use a smaller data set to see the result of the plot graph, but I have to figure out how to import already filtered data here. The data set I am pulling from is already filtered to show just New Hampshire, but here it’s every state. However, from the graph, I can see that multiple colleges have relatively similar price of tuition.