Skip to main content
100%

ICE6_Q2 - Creating a Scatter Plot with D3

✓ Published0🌍 Public
PPbarring
Last edited Mar 6, 2022
Created on Mar 6, 2022
Forked from HTML Starter

This example shows a scatter plot of the classic Iris dataset, mapping sepal length and width for individual flowers and coloring each point by species with green, red, and blue markers. The visualization uses D3 v6’s `scaleLinear` and `extent` to compute axes, then renders the data points as SVG circles with the `select` and `join` API. Axis labels are added via SVG `text` elements, and the plot includes axis ticks generated with `axisLeft` and `axisBottom` from the D3 module.

AI-generated description
MIT Licensed

Similar vizzes