Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6 Task-3.2

Public visualization

Viewing a saved revision (read-only)

e26bbc06d5934d2685cdedf0a6aed8d9

Activity-6 Task-3.2

0 stars0🌍 Public
KKavyaEti
Last edited Oct 25, 2024
Created on Oct 25, 2024
Forked from Hello VizHub

This example shows a scatter plot of the Iris dataset, plotting sepal length against petal length with points shaped by species. It uses D3 v7 modules including `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.symbol` with `symbolsFill` for shape encoding, and custom `axes` and `shapeLegend` functions. Data is fetched as CSV from a GitHub repository and parsed with `d3.csvParse`. The visualization updates responsively to the window size, with a legend positioned at a fixed coordinate.

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.