Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_Task_3

Public visualization

Viewing a saved revision (read-only)

4d34ec40ac0246d1ae572c926f8cba6e

Activity_Task_3

0 stars1🌍 Public
Ssahaspragna6@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, showing petal length on the x-axis and petal width on the y-axis, with each point colored by species (skyblue, lightgreen, or orange). The plot displays the relationship between these two variables across the three iris species. Using D3.js v6 with an SVG rendering, the code loads data from a remote CSV file, parses numeric fields, and uses `scaleLinear` and `extent` to map values to screen coordinates. Axes are generated with `axisLeft` and `axisBottom`, while circles are bound to data via `selectAll` and `join`.

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.