7.3 The Analytical Policeman: Visualization for Law and Order

7.3 The Analytical Policeman: Visualization for Law and Order

Quick Question

For which of the following situations would a heat map be an appropriate visualization choice? Select all that apply.

 Determining if crime is higher or lower on warmer days  close
 Visualizing the areas on a geographical map with the most crime  check
 Comparing crime counts by police district and time throughout a city  check
 Analyzing which months of the year have the most crime on average  close
Check Show Solution

Explanation A heatmap would be useful for the middle two options, because they are trying to visualize crime counts relative to two variables. For the first option, you could use a basic scatterplot with time on the x-axis and amount of crime on the y-axis. For the last option, you could use a bar plot with a bar for each month and the height being the average amount of crime in that month.

Course Info

Learning Resource Types

theaters Lecture Videos
notes Lecture Notes
assignment_turned_in Problem Sets with Solutions