Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question 3.1

Public visualization

Viewing a saved revision (read-only)

b6a1174854234052be76173456d20be8

question 3.1

0 stars0🌍 Public
Ttsumanth619@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example displays the Iris dataset as a scatter plot of petal length against petal width, with each circle colored by species (skyblue for setosa, lightgreen for versicolor, orange for virginica). It also encodes sepal length and sepal width as the `rx` and `ry` attributes on each circle, creating distorted ellipses. The code loads CSV data via `d3.csv`, uses `scaleLinear` for axes, and renders SVG circles and axes with `select`, `join`, `axisLeft`, and `axisBottom`.

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.