Skip to main content
100%

Scatter Plot

✓ Published0🌍 Public
Bbugfree55
Last edited Jul 1, 2022
Created on Jul 1, 2022
Forked from D3 Starter

This scatter plot visualizes the relationship between two numeric variables from a CSV dataset, plotting each point with x and y coordinates. It uses D3 version 6 with an SVG rendering approach, employing `d3.scaleLinear` to map the data domains to pixel ranges and `d3.axisBottom` and `d3.axisLeft` for the axes. Data is loaded asynchronously via `d3.csv`, and circles are appended and joined to the data using `.join('circle')`. The plot is styled with a teal fill and includes axis labels for "Numbers" and "Amount."

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes