Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity_6_Task3_Tutorial3.2

Public visualization

Viewing a saved revision (read-only)

322e4d7eff0648aaa80161224ec98761

Fork of Activity_6_Task3_Tutorial3.2

0 stars1🌍 Public
Pparvathi829790@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024

This example creates a scatter plot comparing sepal length to petal length for iris flowers, with species distinguished by symbol shape. It loads data from a remote CSV file using D3's `csvParse` and renders the chart with D3 v7. The visualization uses `scaleLinear` for axes, `scaleOrdinal` with `symbolsFill` for shapes, and a custom legend. Axes are built with `axisLeft` and `axisBottom`, while the shape legend is generated using D3's `symbol` generator, all composed through modular ES6 imports.

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.