Skip to main content
100%

NY DOCCS Under Custody Data Visualization with Filters

✓ Published0🌍 Public
XXiaoyu Su
Last edited Mar 10, 2021
Created on Feb 2, 2021

This interactive bar chart visualizes NY DOCCS under-custody data, allowing users to explore how inmate counts and average age vary across categorical variables like sex, race, or ethnicity. The chart uses React to manage state and D3 v5 to handle data loading, aggregation, and SVG rendering. Users can dynamically change both the x-axis grouping variable and the y-axis metric (count or average age) via dropdown menus. The visualization leverages `d3.nest()` for data transformation and D3’s scale and axis APIs to update the chart in response to user selections.

AI-generated description
MIT Licensed

Similar vizzes