{"version":"1.0","type":"rich","title":"NY DOCCS Under Custody Data Visualization with Filters","description":"A bar chart explores New York State DOCCS under-custody data, allowing users to select which categorical variable (such as sex or race/ethnicity) appears on the x-axis and which aggregate metric (such as count, average age, or average time served) appears on the y-axis. The visualization uses d3.nest() to group and roll up records, and d3.scaleBand and d3.scaleLinear to position bars. Data loads as JSON from a GitHub gist, and the SVG rendering updates dynamically via d3 transitions and axis redraws.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/70a969b412754030a1e7c3a326bcc95e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}