🌍 Public
Shapes and Colors with SVG and CSS
This visualization displays population data for five African countries as horizontal bars, with each bar’s width scaled to the population value using `scaleLinear` from D3 v5. The example renders purely as SVG elements (`rect`) styled through CSS, with the data loaded from a CSV file via `d3.csv` and mapped into numeric values. The chart does not use axes or labels, emphasizing raw shape and color through a minimal layout.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.