Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question 2

Public visualization

question 2

0 stars0🌍 Public
Aasheshpinisetti@my.unt.edu
Last edited Apr 15, 2024
Created on Apr 15, 2024

This stacked bar chart visualizes the monthly income distribution of five individuals, segmented by age and gender. Each bar is divided into two stacked segments representing the binary categories “No Income” and “Below Rs.10000,” with steelblue and darkorange fills. The chart uses `d3.stack()` to compute the stacked series and `d3.scaleBand` for the categorical x-axis, with `d3.axisBottom` and `d3.axisLeft` rendering the axes. The data is static and embedded in the script, rendered as SVG elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed