Skip to main content
100%

tutorial3.1

✓ Published0🌍 Public
Vvinaykollapudi@my.unt.edu
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This example shows an interactive scatter plot of the Iris dataset, plotting sepal length against petal length and encoding flower species with different marker shapes. It loads D3 v7 via UNPKG and uses a modular ES6 structure with local modules for axes, scatter plot, and a custom shape legend. The visualization fetches CSV data, parses it with d3.csvParse, and renders SVG marks using d3.symbol and d3.scaleOrdinal with symbolsFill. Axes are generated with 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.
MIT Licensed

Similar vizzes