Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question3_act6

Public visualization

Viewing a saved revision (read-only)

44251fb053fe4f61a56e8aea3075aa05

question3_act6

0 stars0🌍 Public
Bbhavyamoturi2509@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 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, with circle colors representing the three species (setosa, versicolor, and virginica). The visualization uses D3 v6 to load CSV data from a remote URL, scale the values to the screen dimensions, and render SVG circles with fixed radius. The code also stores but does not visually use sepal measurements as additional data attributes on each circle. Axes are drawn using D3’s `axisLeft` and `axisBottom`, with custom axis labels for petal length and sepal length.

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.