Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
Jjeelong
Last edited Jun 16, 2020
Created on Jun 16, 2020
Forked from Customising Axis

This scatter plot displays the population of the world's ten most populous countries, with each circle positioned along the x-axis by population value and along the y-axis by country name. The visualization is rendered as an SVG using React and D3 v5, with the data loaded from a CSV file. The code implements scales and axes through `d3.scaleLinear`, `d3.scalePoint`, `d3.axisBottom`, and `d3.axisLeft`. Population tick labels are formatted using `d3.format` with the custom `.replace('G','B')` transformation.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes