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)

894fa1da1e6f434bb593cb24ffa74bb3

Activity-6-task-3.2

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

This scatter plot visualizes the iris dataset, mapping sepal length to petal length and encoding species with distinct symbols. The chart uses D3’s `scaleLinear` for axes and `scaleOrdinal` with `symbolsFill` for shape mapping, along with custom `axisLeft`, `axisBottom`, and `shapeLegend` modules. Data is loaded from a CSV via `fetch` and parsed with `csvParse`. The visualization also includes labeled axes and a legend, leveraging D3’s selection join API for efficient SVG 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.