Skip to main content
100%

Activity6_Task3

✓ Published0🌍 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.
MIT Licensed

Similar vizzes