Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 _task 3.2

Public visualization

Viewing a saved revision (read-only)

4d5c49edbe314abab9b98e27b8ae4100

Activity 6 _task 3.2

0 stars0🌍 Public
Sskykarthik97@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This scatter plot displays the relationship between sepal length and petal length for iris flowers, with species encoded through distinct point shapes and a corresponding legend. The visualization loads its dataset from a CSV file hosted on GitHub. Built with D3 v7, the code employs `scaleLinear` for both axes, `scaleOrdinal` with `symbolsFill` for shape mapping, and custom functions `axes` and `shapeLegend` to render axes and the categorical legend. Data parsing uses D3's `csvParse`, and the plot is redrawn whenever the window is resized.

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.