Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Interactive Stacked Bar Chart

Public visualization

Fork of Interactive Stacked Bar Chart

0 stars0🌍 Public
Sshreyasribearelly@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024

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 description

Stacked 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.

Comments

Sign in to join the discussion.

MIT Licensed