Fork of Stylized Bar Chart
✓ Published0🌍 Public
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 descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed