Skip to main content
100%

Practice3 scatter plot

✓ Published1🌍 Public
Hhossaphul
Last edited Mar 10, 2023
Created on Mar 10, 2023

A scatter plot displays the top 10 most populous countries, with population on the x-axis and country names on the y-axis, using circles to represent each nation. The visualization uses D3 v5's `scaleLinear` and `scalePoint` to map data from `data.csv` to pixel coordinates, with `axisLeft` and `axisBottom` rendering grid lines and tick labels. Population values are multiplied by 1000 and formatted with the `d3.format` `.3s` shorthand, replacing 'G' with 'B'. The SVG rendering applies CSS styling for circle fill, tick fonts, and axis labels.

AI-generated description
MIT Licensed

Similar vizzes