Fork of Fork of Stylized Bar Chart
✓ Published0🌍 Public
This visualization displays the populations of ten countries as horizontal bars, rendered as SVG rectangles through React components. The chart loads UN population data for 2020 from a CSV file using D3’s `csv` parser, then maps it with `scaleBand` and `scaleLinear`. Axes are drawn by custom React components, with tick formatting via D3’s `format` to abbreviate values (e.g., “1.2B”). A `title` element in each rectangle provides a native tooltip, and the layout follows a clean, styled design using the Poppins font.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!
MIT Licensed