Skip to main content
100%

7. date-x-axis histogram

✓ Published0🌍 Public
深深度碎片
Last edited Aug 1, 2016
Created on Jul 20, 2016

This visualization shows the number of homicides in Chicago per week during 2015, displaying each week as a bar. It uses D3 v4’s `d3.histogram` function to bin data by week based on parsed dates, with the x-axis scaled by `d3.scaleTime`. The bar heights are mapped using `d3.scaleLinear`, and the SVG rendering includes labeled counts above each bar. The data comes from the City of Chicago’s public dataset, loaded from a CSV file.

AI-generated description

Source: City of Chicago.

This histogram shows the number of homicides in Chicago for each week in 2015.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/b2fee5dae98555cf78c9e4c5074b87c3'>Histogram II</a>

gpl-3.0 Licensed

Similar vizzes