Skip to main content
100%

Activity-8_Task-3

✓ Published0🌍 Public
Hharipadmavathim2023@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis. Each circle’s fill color distinguishes the three iris species using a switch statement. The chart uses D3 v6’s `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` functions. Data is loaded from a GitHub raw CSV, and circles are rendered with an SVG `circle` element, with axes and labels added to complete the visualization.

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