Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
RRod Potter
Last edited Apr 24, 2019
Created on Apr 24, 2019
Forked from Customizing Axis

This scatter plot displays the top 10 most populous countries, plotting population on the x-axis against country names on the y-axis. It uses d3.scaleLinear for the population scale and d3.scalePoint for the categorical country axis, with circular markers sized at 15 pixels. The code imports specific D3 v5 modules including csv, select, axisLeft, axisBottom, and format, and customizes both axes with tick formatting that converts values to abbreviated units like 'B' for billions. SVG rendering is used, with data loaded from a local CSV file.

AI-generated description

This is about customizing axis.

MIT Licensed

Similar vizzes