Skip to main content
100%

Scatter Plot with D3.js!

✓ Published1🌍 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.

MIT Licensed

Similar vizzes