Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE6_Q2 - Creating a Scatter Plot with D3

Public visualization

ICE6_Q2 - Creating a Scatter Plot with D3

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed