Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3.1 Scatter Plot with Shape

Public visualization

Viewing a saved revision (read-only)

8b8624491b0f4ba3ac9fa7d041ed6c96

Activity6_Task3.1 Scatter Plot with Shape

0 stars0🌍 Public
Kkamalini.ponnuru11@gmail.com
Last edited Oct 17, 2024
Created on Oct 17, 2024

This scatter plot visualizes the Iris dataset, showing sepal length against petal length, with each species distinguished by a unique symbol shape. The visualization uses d3.scaleOrdinal and symbolsFill to assign distinct shapes, and includes a custom shape legend generated with d3.symbol. Data is loaded via fetch and parsed with d3.csvParse. The chart is rendered using D3 v7, with axes created through d3.axisLeft and d3.axisBottom, and marks drawn as SVG path elements using the d3.symbol generator.

AI-generated description