Skip to main content
100%

Tutorial 3.2 Scatter Plot with Shape Aadesh

✓ Published0🌍 Public
Aaadesh.pranesh@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024

This scatter plot visualizes the Iris dataset, showing the relationship between sepal length and petal length for three species, distinguished by shape. The plot uses D3.js v7 with `scaleLinear` and `scaleOrdinal` to map data to positions and symbolic shapes from `symbolsFill`. A shape legend displays each species. Data is loaded from a remote CSV file and parsed with `csvParse`, with the axes and legend created using D3's `axisLeft`, `axisBottom`, and custom shape legend components.

AI-generated description
MIT Licensed

Similar vizzes