Under Custody
This interactive visualization explores New York State Department of Corrections and Community Supervision (NYDOCCS) inmate data, presenting a bar chart alongside a choropleth map of county-level statistics. Users dynamically filter the bar chart's x and y axes through dropdown menus, with color-coded bars representing aggregated counts, average ages, or average time served for various categorical attributes like sex, race, or prison. The SVG-based map, rendered using `d3.geoMercator` and `d3.geoPath`, offers a separate dropdown to display variables such as incarceration rates or demographic percentages by county. Built with React, D3 v5, and the `react-dropdown` component, the visualization updates smoothly via React hooks and includes interactive tooltips.