Skip to main content
100%

D3 Scatter Plot

✓ Published1🌍 Public
MMatheesha Yapa
Last edited Jun 28, 2023
Created on Jun 27, 2023
Forked from D3 Selections

This D3 scatter plot visualizes the Iris dataset, plotting petal length against sepal length for individual flowers. The example demonstrates a straightforward workflow using D3 version 7.8.5, where it loads the CSV data from a URL, scales the x and y axes with `scaleLinear`, and uses `extent` to determine the domain. The SVG rendering is created with a full-viewport canvas, with circles positioned using the computed scales. Axes are generated using `axisLeft` and `axisBottom`, and the code applies a `selectAll` and `join` pattern to render the data points.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes