Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
AAbdullah Al Munem
Last edited Aug 13, 2023
Created on Aug 13, 2023
Forked from Stylized Bar Chart

This stacked bar chart displays the population distribution across multiple subgroups for each group, using a stylized, color-coded design. Built with React and D3 v5, the visualization renders SVG rectangles through a custom `Marks` component, with axes generated by `d3.axisBottom` and `d3.axisLeft`. A d3 ordinal scale assigns distinct colors to each stacked series, while mouseover events trigger a tooltip showing subgroup names and values. The chart pulls data from the United Nations World Population Prospects 2019 CSV, demonstrating a stacked layout with interactive labeling.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes