Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Test Plot

Public visualization

Viewing a saved revision (read-only)

5ab8b3aa8b564efcb9a9c850ecd3263d

Test Plot

2 stars1🌍 Public
Aaveryfairbanks
Last edited Dec 9, 2020
Created on Dec 7, 2020
Forked from Scatter Plot

This stacked bar chart visualizes health condition counts across racial groups using CSV data from health_indicators_2019.csv. The d3.stack() function layers conditions as colored segments, with d3.scaleBand, d3.scaleLinear, and d3.scaleOrdinal handling positioning and colors. Rectangles are appended to SVG groups, while mouseover, mousemove, and mouseleave events trigger a simple HTML tooltip displaying each segment’s count.

AI-generated description