Skip to main content
100%

Q1 graphs

✓ Published0🌍 Public
CCurran Kelleher
Last edited Jan 16, 2020
Created on Jan 16, 2020
Forked from Q1 graphs

This interactive bar chart visualizes survey responses from incarcerated individuals, showing the percentage of "yes" answers for questions across five categories: Services, Procedure, Economics, Health and Well Being, and Interpersonal. Users select a category from a dropdown menu to filter and display the corresponding questions. Built with D3 v5, the visualization uses `scaleLinear` and `scaleBand` for positioning, along with `axisLeft` and `axisBottom` for axes. It loads data from a CSV file and renders in an SVG, dynamically updating the bars and axes in response to menu selections.

AI-generated description

Helping out with getting the original example working.

The problem was a typo in the name of the CSV file.

Also, it seems that if you prefix the path of loading a CSV file with ./, it doesn't work, but leaving that out it does. This may be a bug in MagicSandbox.

MIT Licensed

Similar vizzes