Viewing a saved revision (read-only)
29a01d7be4c94bba89d3eac793403299
Fork of Interactive Stacked Bar Chart
This stacked bar chart visualizes the relationship between race, age category, and physical health metrics. The chart displays stacked segments sorted by race-age groups along the y-axis, with the x-axis representing physical health values. Users can hover over individual bars to view tooltips showing the specific stacked values. The implementation uses D3.js APIs including `scaleBand`, `scaleLinear`, and `stack` to generate the visualization, with data derived from CSV health records and rendered as SVG. A legend with color-coded categories accompanies the chart.
AI-generated descriptionStacked bars showing estimated religion breakdown of the most populous 20 countries in 2010. Based on an example from the tutorial Splitting Charts. Interactions:
- Hover over the legend to highlight religions.
Data is from The Global Religious Landscape by Pew Research, generated using this processing script.