Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Act6_3.2

Public visualization

Viewing a saved revision (read-only)

0cf4f07041924820899c87fc1edd85fb

Act6_3.2

0 stars0🌍 Public
Ggalijawaharnath@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This scatter plot displays sepal length against petal length for Iris flowers, with species encoded by distinct marker shapes. The visualization uses d3.scaleLinear for both axes and d3.scaleOrdinal with d3.symbolsFill to map species to shapes. A custom shapeLegend component draws the legend using d3.symbol to generate the path data. The visualization loads data from an external iris.csv file, parses it with d3.csvParse, and renders the marks as SVG paths via d3.join, with complete axes and labels provided by d3.axisLeft and d3.axisBottom.

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.