Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task-3

Public visualization

Viewing a saved revision (read-only)

77915af7bcac4750bef3b30cb1c847ff

Task-3

0 stars0🌍 Public
Mmoulidomar@hotmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This example visualizes the classic Iris dataset as a scatter plot of sepal length against petal length, with points colored by shape according to species. It uses a D3 v7 ordinal scale with `symbolsFill` to assign distinct shapes to each species, and includes a custom shape legend generated with D3’s `symbol` generator. The axes are rendered via D3’s `axisLeft` and `axisBottom`, while the data is loaded asynchronously from a CSV file and parsed with `csvParse`. The visualization adapts to the full browser window size.

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.