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)

c70fe5b8c4944593a8d89d8687d49379

Activity_6_Task 3.2

0 stars0🌍 Public
Mmudunurirahulvarma98@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example shows a scatter plot of iris flower measurements, encoding sepal length against petal length and using different symbols to distinguish species via a shape legend. It loads data from a remote CSV file and parses it with `d3.csvParse`. The visualization uses D3 v7 features including `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.symbol`, and `d3.axisLeft`/`d3.axisBottom` to render axes and marks, with a custom legend built from modular ES6 functions.

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.