Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3.2

Public visualization

Viewing a saved revision (read-only)

3f64a09cb63244d4a8df182d88163d0f

Activity6_Task3.2

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

This D3.js scatter plot visualizes the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis. Each point's shape encodes the flower species, with a custom legend created using D3's `symbol` generator and `scaleOrdinal` with `symbolsFill`. The chart uses `scaleLinear` for axes, along with `axisLeft` and `axisBottom` for tick marks. Data is loaded via `csvParse` from a remote URL, and the visualization updates dynamically using D3's `select` and `.join` pattern for DOM manipulation.

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.