BMW Simple stacked Bar Chart
✓ Published0🌍 Public
This stacked bar chart visualizes the top 10 most populous countries or areas from the UN Population Estimates dataset, with each bar representing a region's total population. Built with D3 v7 and React, the visualization uses d3-rosetta's unidirectional data flow pattern to manage state and rendering. The SVG bars are color-coded using a scaleOrdinal scheme, and clicking a bar triggers a state update that highlights the selection in orange. The chart includes rotated x-axis labels and axis titles generated through the d3 scaleBand and scaleLinear scales.
AI-generated descriptionMIT Licensed