Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3

Public visualization

Viewing a saved revision (read-only)

accde4ff25d24d1598ad9b07fd294044

Activity6_Task3

0 stars0🌍 Public
Ggalijawaharnath@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping petal length and width for each specimen and coloring points by species (setosa, versicolor, or virginica). It loads the data from a remote CSV file and renders an SVG chart using D3 version 6. The example uses D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to construct the axes, while a custom marker function assigns categorical colors. The plot is responsive, filling the browser window and including rotated axis labels.

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.