Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_6_Task_3

Public visualization

Activity_6_Task_3

0 stars0🌍 Public
TTarshit Vupperla
Last edited Oct 25, 2024
Created on Oct 25, 2024

This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width, with each point colored according to the flower's species. The visualization uses D3 v6, specifically leveraging the `csv`, `select`, `scaleLinear`, and `extent` functions to load and scale the data, and rendering with SVG circles. Axis labels are added using `axisLeft` and `axisBottom`, with the chart's dimensions adapting to the 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.

Comments

Sign in to join the discussion.

MIT Licensed