Skip to main content
100%

Fork of Fork of Scatter Plot with Shape

✓ Published0🌍 Public
Ccharanshiva769@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024

This example shows the classic Iris dataset as a scatter plot, mapping sepal length to the x-axis and petal length to the y-axis, with each of the three species distinguished by a unique D3 symbol shape. A legend identifies the species shapes, while labeled axes provide context for the measurements. The visualization is built with D3 v7, using `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.symbolsFill` for shapes, and modularized functions for rendering axes, the shape legend, and scatter plot marks. The data is loaded as CSV and parsed with `d3.csvParse`.

AI-generated description
MIT Licensed

Similar vizzes