Skip to main content
100%

Fork of Activity - 6_Task-3.1

✓ Published1🌍 Public
Pphanisrivinnakota@gmail.com
Last edited Apr 6, 2024
Created on Apr 6, 2024

This scatter plot visualizes the Iris dataset, mapping petal length against petal width for individual flowers, with each point colored by species (setosa, versicolor, or virginica). The plot uses D3 v6 APIs including `csv` for data loading, `scaleLinear` for axes, and `axisLeft`/`axisBottom` for ticks, rendered as SVG circles. While the code also defines sepal dimensions and attempts to set `rx`/`ry` attributes on circles (which have no effect), the primary visualization clearly shows the petal measurement distribution. The data is fetched from a GitHub-hosted CSV file.

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