Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Scatter Plot with Shape

Public visualization

Fork of Fork of Scatter Plot with Shape

0 stars0🌍 Public
Ssathvik0311@gmail.com
Last edited Oct 25, 2024
Created on Oct 25, 2024

This example shows the classic Iris dataset as a scatter plot of sepal length against petal length, with each species represented by a distinct D3 symbol shape. The visualization includes labeled axes and a shape legend identifying the three species. It uses d3.scaleLinear for positioning, d3.scaleOrdinal with symbolsFill for mapping species to symbol types, and d3.axisLeft/axisBottom for axes. Data loads from a remote CSV and is parsed with d3.csvParse, with the chart rendered using d3-selection joins inside a resizable SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed