The above visualization uses d3-contour to estimate the density of gun homicides on Chicago's West Side. The animation shows how the choice of bandwidth impacts the resulting density contours when performing a kernel density estimation on a set of data. Click "pause" to stop the animation. Click "Step Forward" and "Step Backward" to increment and deincrement the bandwidth by 1.
Gun homicide data was gathered from the Gun Violence Archive. The data was cleansed and refined using numerous Python scripts as part of an ongoing personal project on Chicago Gun Violence. I do not claim that the data is accurate. Due to the nature of the data, homicides that occurred on the same city block are plotted in the same location, even if the incidents took place at different addresses. The data being considered are 2016 gun homicides that occurred on Chicago's West Side in the Austin, East Garfield Park, West Garfield Park, Humboldt Park, North Lawndale, South Lawndale, West Town, Near West Side, and Lowest West Side community areas.