Tutorial_1_Sivani
✓ Published1🌍 Public
This example shows a horizontal bar chart of 2020 population estimates for 30 countries, with a green bar for each nation and blue tick lines along the bottom axis. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and `d3.format` to abbreviate large population values (e.g., “1.2B”). Data loads from a CSV via `d3.csv` and renders as SVG rectangles with tooltips on hover.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed