Skip to main content
100%

D3 Introduction :Population Scatter Plot

✓ Published1🌍 Public
FFoysal Ahmed Emon
Last edited Feb 8, 2020
Created on Feb 8, 2020

This scatter plot displays population figures for countries and regions, with each circle positioned along a point scale for country names on the y-axis and a linear scale for population on the x-axis. The visualization renders in SVG using React, leveraging D3 v5 APIs including `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom`. Data from `data.csv` is loaded via `csv()`, with population values multiplied by 1000 and formatted with tick labels using D3’s `format`. The chart includes gridlines from tick sizes and a title text element.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes