Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task3.2

Public visualization

Viewing a saved revision (read-only)

2082e9b2d7b54a03b11379db37a263c4

Activity 6_Task3.2

0 stars1🌍 Public
SSiva Kishore Reddy
Last edited Oct 22, 2024
Created on Oct 22, 2024

This example shows a scatter plot of the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis, with the three flower species distinguished by different symbol shapes (circles, crosses, and diamonds) via a shape legend. The visualization is built with D3 v7, using `scaleLinear`, `scaleOrdinal`, `symbol`, and `symbolsFill` to position and style the marks. It fetches the CSV data from a GitHub repository and renders it in an SVG sized to the window. A modular structure separates the axes, legend, and plot logic into reusable functions.

AI-generated description