Skip to main content
100%

Scaterplot

✓ Published0🌍 Public
Aantoinecarto
Last edited Jul 5, 2019
Created on Jul 5, 2019
Forked from Customizing Axes

This scatterplot shows the population of the top 10 most populous countries, using a linear scale for population and a point scale for country names from United Nations 2018 estimates. The chart uses D3 v5 APIs including `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom` to render an SVG visualization with custom tick formatting that converts large numbers to abbreviations. Gridlines extend from both axes, and circles are positioned using the scales with a fixed radius, while axes are customized by removing domain paths and styling tick elements via CSS.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes