Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_6 Task-3

Public visualization

Viewing a saved revision (read-only)

ae81f98a95554dc9bd1a60e637328c76

Activity_6 Task-3

0 stars1🌍 Public
Kkrishna444battula@gmail.com
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width for three species of iris flowers. Each flower is represented as a colored circle, with sky blue for setosa, light green for versicolor, and orange for virginica. The visualization uses D3 v6 with SVG rendering, employing d3.scaleLinear, d3.extent, d3.axisLeft, and d3.axisBottom to construct the plot. Data is loaded asynchronously via d3.csv from a GitHub gist, and the code calculates the x and y positions based on the measured petal 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.