Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

act6_shapeplot

Public visualization

Viewing a saved revision (read-only)

a08a85f407d147948ebc88e00a61f3dd

act6_shapeplot

0 stars0🌍 Public
Sshettisowmya01@gmail.com
Last edited Oct 20, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This example visualizes the Iris dataset by plotting sepal length against petal length, with each of the three iris species distinguished by a different symbol shape. The scatter plot uses D3 v7’s `scaleLinear`, `scaleOrdinal`, and `symbol` APIs to position points and generate the distinct marker shapes, while a custom shape legend explains the species mapping. The chart is built with reusable D3 modules for scatter plot rendering, axes, and legend, and it loads data via `fetch` and `csvParse` from a raw GitHub CSV file.

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.