Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task3 activity6

Public visualization

Viewing a saved revision (read-only)

a8172dec7ebd4375805067c46fa1be50

task3 activity6

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

This scatter plot visualizes the Iris dataset, mapping petal length and width for individual flowers while coloring points by species (skyblue for setosa, lightgreen for versicolor, orange for virginica). Built with D3.js v6, it uses SVG circles and scaleLinear scales to position marks, with axisLeft and axisBottom generating the axes. The code loads CSV data via d3.csv, applies a color marker function based on species, and includes rotated 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.