Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with D3.js!

Public visualization

Viewing a saved revision (read-only)

0874ae38770a44c1a327c4440e4b5c42

Scatter Plot with D3.js!

0 stars1🌍 Public
LLidiamir
Last edited Mar 12, 2021
Created on Mar 12, 2021

This example shows a scatter plot of population data for five countries, with country names on the y-axis and population on the x-axis. It uses D3 v6 with the `select`, `csv`, `scaleLinear`, `scalePoint`, `axisLeft`, `axisBottom`, and `format` APIs to load data from a CSV file and render SVG circles. The chart includes custom tick formatting that converts abbreviations like “G” to “B” and displays gridlines generated by `tickSize`.

AI-generated description

A demonstration of how to start using D3 version 6.