Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task 3 3.2

Public visualization

Viewing a saved revision (read-only)

de3e2c8c447d4108a1166fca763a341e

Task 3 3.2

0 stars1🌍 Public
KKritin Kesav
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This scatter plot shows the relationship between sepal length and petal length for three iris species, with each species represented by a distinct shape symbol. The visualization uses D3 v7 to render an SVG canvas, employing `scaleLinear` for both axes and `scaleOrdinal` with `symbolsFill` to map species to shapes. A custom shape legend displays the species symbols with labels. The data is fetched from a CSV file and parsed with `csvParse`, with numeric columns converted to numbers. The axes are drawn with `axisLeft` and `axisBottom` from D3's import, and the chart is built using the join pattern for declarative updates.

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.