Skip to main content
100%

Activity-6 Task-3.1

✓ Published0🌍 Public
KKavyaEti
Last edited Oct 25, 2024
Created on Oct 25, 2024
Forked from Hello VizHub

This example visualizes the Iris dataset as a scatter plot, mapping petal length on the x-axis and petal width on the y-axis. Each flower species is color-coded, with setosa, versicolor, and virginica markers distinguished by hue. The visualization uses D3 v6 APIs such as `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load data from a remote CSV, compute scales, and render SVG circles. It also attempts to set `rx` and `ry` attributes, although these have no effect on circles.

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