Under Custody
This interactive bar chart explores New York State DOCCS under-custody data, showing population counts, average age, or average time served grouped by categories like sex, race, or age. Users select variables through React dropdown components for both axes, while radio buttons trigger animated re-sorting of bars by value or category. The visualization uses D3 v5 for scales, SVG rendering, transitions, and hover tooltips displaying counts and percentages, with data loaded and transformed via React hooks and D3's nest function.