Skip to main content
100%

Shapes and Colors with SVG and CSS

✓ Published0🌍 Public
AArtem Bykov
Last edited Aug 5, 2020
Created on Aug 5, 2020

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 description
MIT Licensed

Similar vizzes