Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Color and Size

Public visualization

Scatter Plot with Color and Size

0 stars0🌍 Public
KKrishna.
Last edited Oct 30, 2025
Created on Oct 30, 2025

This scatter plot visualizes the Iris dataset, displaying petal length and width on the x- and y-axes while encoding sepal length through point size and species through color. The D3 v7 code uses `d3.csv` with `d3.autoType` to load data, then `d3.scaleLinear` for axes, `d3.scaleOrdinal` for categorical colors, and `d3.scaleSqrt` to map a third continuous variable to circle radius. Hover tooltips provide exact values for all four measurements per flower.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed