Skip to main content
100%

Scatter Plot

✓ Published0🌍 Public
Uujjwalgarad
Last edited Dec 14, 2020
Created on Dec 9, 2020
Forked from Customizing Axes

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 description

React Starter code.

MIT Licensed

Similar vizzes