Fork of Hello VizHub
✓ Published0🌍 Public
A horizontal bar chart displays the population of thirty countries in 2020, sourced from a CSV file. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the population x-axis. SVG rectangles render the bars, with axes drawn from custom `AxisBottom` and `AxisLeft` components. A tooltip shows the formatted population value on hover, and the x-axis labels abbreviate large numbers (e.g., "1.2B") using D3's `format`.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed