Import Your Data

In the following code hunk, import your data.

## Rows: 3115 Columns: 21
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr  (1): State
## dbl (20): Year, Data.Population, Data.Rates.Property.All, Data.Rates.Propert...
## 
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.

Figure 1 Line Plot of Every State’s Total Crime Rate Each Year

## `summarise()` has grouped output by 'State'. You can override using the
## `.groups` argument.

Figure 2 Map Density Plot of Total Crime Rate of Each State in 2019

Figure 3 Map Density Plot of Total Crime Rate of Each State in 1960

Figure 4 Line Plot of All Kinds of Crime’s Total Number Each Year

Figure 5 Stacked Bar Plot of the Number of All Kinds of Crime in 2019 and 1960

Figure 6 Pie Plot of All Kinds of Crime in the State with the Highest Total Crime Rate in 2019

Figure 7 Map Density Plot of Property Crime Rate of Each State in 2019

Figure 8 Map Density Plot of Violent Crime Rate of Each State in 2019