Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Tutorial Task 3.1_Harini

Public visualization

Viewing a saved revision (read-only)

716d47ab55f64d95935de2801fb1d74f

Activity 6_Tutorial Task 3.1_Harini

0 stars1🌍 Public
Kkamarthyharini24@gmail.com
Last edited Apr 2, 2024
Created on Apr 1, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, displaying petal length on the x-axis and petal width on the y-axis, with each point colored by species (setosa, versicolor, or virginica). The code loads the data from a remote CSV using `d3.csv`, scales the axes with `d3.scaleLinear` and `d3.extent`, and renders the plot as an SVG using `d3.select`, `d3.axisBottom`, and `d3.axisLeft` from the d3 v6 API. The visualization includes axis labels for petal length and sepal length, though the sepal length label appears mismatched relative to the plotted dimensions.

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.