NY DOCCS Under Custody Data Visualization with Filters
✓ Published2🌍 Public
AAnnie Ulichney
Last edited Mar 15, 2021
Created on Mar 7, 2021
Forked from Exploring survey data interactively - both axes
This interactive bar chart lets users explore a dataset of individuals under custody in the New York DOCCS. The chart renders aggregated counts of people based on categories chosen for the x-axis (e.g., sex, race/ethnicity) and y-axis (e.g., amount, average age). Users dynamically change the variables plotted on each axis through dropdown menus, which update the bars and axis labels via D3.js v5. The visualization also includes a radio button for sorting the bars in descending order, and it builds its aggregated data using the `d3.nest()` API.
AI-generated descriptionNY DOCCS Under Custody Data Visualization with Filters on X and Y Axes
To Do:
- Change "y-axis" and "x-axis" text to be outside the dropdown
- Eliminate entries with no info for selected variables before plotting to prevent empty bars
- Sort bars into descending
- Bin age on x axis
- Add summary tables
- Add sentence length
- CSV data input
Credit
MIT Licensed