Column

Chart A

As seen in the graph there is a negative linear relationship between theft and single family home values in Boston. This graph took quiet a bit of time simply because I had to merge the crime and single family home data together in a way that makes sense (see attached csv). I had to download QGIS to clip all of the single family home values separately by a police district GEOJSON file, then take the average of those values so that I could have a home value for police district. Each dot on the scatter plot represents one of the 12 police districts within the city of Boston. This is the only way I could think of besides a geographic map to display comparatively the bivariate relationship between housing values and crime.

Column

Chart B

As seen in this graph there is a slightly stronger negative linear relationship between assault and single family home values in Boston than in the first visualization. The main difference with this visualization is that since there are less assault counts than theft counts in the Boston PD records, therefore the y axis is different. I used the same process to collect this data, but filtered out only the crimes with “assault” as a keyword in the descriptions.