Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Diverging Stacked Bar Chart with D3.js

Public visualization

Diverging Stacked Bar Chart with D3.js

0 stars0🌍 Public
Jjhcliu19
Last edited Oct 29, 2019
Created on Oct 29, 2019
Forked from Cars Scatter Plot

This visualization displays survey responses as a diverging stacked bar chart, with each row representing a question and colored segments showing the percentage of respondents who strongly disagree, disagree, are neutral, agree, or strongly agree. The chart uses D3.js v3 to load CSV data, compute percentage distributions, and render SVG rects and text labels via ordinal and linear scales. Alternating row backgrounds and a centered zero line aid readability, while a legend identifies the five response categories.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed