Skip to main content
100%

Activity6-Tutorial 3

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

This scatter plot visualizes the Iris dataset, mapping petal length and width as the primary x and y coordinates while encoding sepal dimensions as elliptical radii. Data is loaded from a GitHub CSV via `d3.csv` and parsed before scaling with `d3.scaleLinear` and `d3.extent`. The SVG canvas renders colored circles per species using a switch-based color marker, with axes generated via `d3.axisLeft` and `d3.axisBottom`. The chart fills the window, with labeled axes and a rotated y-axis title displayed in green.

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