Skip to main content
100%

Task-3activity-6

✓ Published0🌍 Public
Vvaishnavi6gan@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Task-3activity-6

This example visualizes the Iris dataset as a scatter plot, mapping petal length and width on the axes while coloring each point by species (setosa, versicolor, virginica). Although the code attempts to set circular radius and rectangle attributes, only circle elements with a fixed radius are rendered. It loads CSV data via d3.csv, uses d3.scaleLinear and d3.extent for scales, and renders axes with d3.axisLeft and d3.axisBottom, with SVG circles colored via a switch-based marker function.

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