Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ass8_task3.2

Public visualization

Ass8_task3.2

0 stars0🌍 Public
AAbdul Kareem
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example demonstrates a scatter plot of the Iris dataset, encoding sepal length on the x-axis, petal length on the y-axis, and species as categorical shape symbols. It uses D3 v7 modules including `scaleLinear`, `scaleOrdinal`, `symbol`, and `axisLeft`/`axisBottom` to render axes and a custom shape legend. The data is loaded via `fetch` from a GitHub raw CSV and parsed with `csvParse`, with numeric fields coerced to numbers before plotting in a full-window SVG.

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.

Comments

Sign in to join the discussion.

MIT Licensed