Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Task 3 Tutorial 2

Public visualization

Activity 6 Task 3 Tutorial 2

0 stars0🌍 Public
Mmounikakatipally995@gmail.com
Last edited Apr 16, 2024
Created on Apr 16, 2024

This interactive scatter plot visualizes the Iris dataset, displaying sepal length on the x-axis and petal length on the y-axis, with each species distinguished by a different symbol shape and a corresponding legend. The visualization uses D3 v7’s `scaleLinear`, `scaleOrdinal`, `symbol`, and `symbolsFill` to map data values to positions and categorical shapes. The code loads CSV data via `csvParse` and renders axes with `axisLeft` and `axisBottom`, while the legend is generated with a custom `shapeLegend` function.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed