Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity6task-3

Public visualization

Viewing a saved revision (read-only)

cad7f14d36864ade83ed7ee6ddc01faf

activity6task-3

0 stars0🌍 Public
HHanuReddy
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This visualization displays the classic Iris dataset as a scatter plot, showing petal_length on the x-axis and petal_width on the y-axis. Each data point is a circle colored according to species—setosa appear skyblue, versicolor lightgreen, and virginica orange. The code uses d3.csv to load the dataset from a GitHub gist, d3.scaleLinear for the axes, and d3.axisLeft and d3.axisBottom to render the axis ticks. All marks are rendered as SVG circles via d3.selectAll('circle').data().join(), with the plot sized to the full browser window.

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.