NYC Arrest over year
✓ Published0🌍 Public
A month-by-month bar chart shows the daily number of arrests in New York City from January through September 2022. Clicking a month button triggers a D3 transition that re-scales the x- and y-axes and updates the bar heights accordingly. The visualization loads CSV data from a GitHub repository and uses D3 v7’s `scaleBand`, `scaleLinear`, and `transition` APIs to animate changes smoothly in an SVG.
AI-generated descriptionWe collect the arrest data in NYC from 2022.01.01 to 2022.9.30. This chart offers us daily-based data in different months.
By clicking the button at the top of the page, we can see the number of crimes recorded each day of that month, which offers us a easy way to find the seasonal trends or temporal pattern of crime in New York City.
MIT Licensed