🌍 Public
Fork of Axis World Population
This visualization displays the population of the top nine countries in 2020, sorted in descending order using horizontal bars. Built with React and D3 v7, it uses `scaleBand` for the y-axis country categories and `scaleLinear` for the x-axis population values, with data loaded from a CSV via `d3.csv` and rendered as SVG `<rect>` marks. The chart includes custom axis components for ticks and labels, with the population normalized to millions for readability.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter. css named colors
MIT Licensed
Comments
Sign in to join the discussion.