Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6 - Tutorial 3.2

Public visualization

Viewing a saved revision (read-only)

2f087fcf67c647dba8adbbaf9fdec328

Activity6 - Tutorial 3.2

0 stars0🌍 Public
Mmalampatiramya03@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, showing sepal length against petal length for different flower species. The D3.js v7 code uses `scaleLinear` for both axes, `scaleOrdinal` with `symbolsFill` to assign distinct shapes to each species, and a custom legend showing the shape-to-species mapping. Data loads asynchronously from a GitHub-hosted CSV file using `csvParse`, with axes generated via `axisLeft` and `axisBottom`.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.