June 3, 2018

Data

I use the plot_ly package and the USArrests data.

The data contains number of arrests per 100,000 residents in 1973 at 50 states. 3 arrest types and 1 statistic are recorded:

  • Murder
  • Assault
  • Rape
  • Percent urban population.

Objectives

I will make 3 plots, corresponding to 3 types of crime throughout the US.

You can move backward and forward between slides to see how crimes occur differently over the country.

Murder map

Assault map

Rape map