Scatter Plot
✓ Published0🌍 Public
This horizontal bar chart ranks the ten most populous countries, with bars extending proportionally to each nation’s population. The chart uses D3 v6 scales (`scaleLinear` for the x-axis and `scaleBand` for y-axis categories) rendered as SVG rectangles. Axes are customized with D3’s `axisBottom` and `axisLeft`, including a custom tick formatter that abbreviates large numbers (e.g., “1.38B”). Data is loaded from a CSV via `csv()` and parsed with unary plus operators.
AI-generated descriptionReact Starter code.
MIT Licensed