Skip to main content
100%

Tutorial 8 task 3.2

✓ Published0🌍 Public
Jjaswanthichowdarykalapala@my.unt.edu
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example presents a scatter plot of the Iris flower dataset, visualizing sepal length against petal length while grouping data points by species through distinct marker shapes. Implemented using D3.js v7, the visualization employs d3.scaleLinear, d3.scaleOrdinal, and d3.symbol to position points and assign shape encodings. The code demonstrates modular architecture with reusable axis and legend components, alongside asynchronous data loading via the Fetch API and CSV parsing through d3.csvParse. An interactive shape legend displays categorical values, all rendered within a responsive full-window SVG.

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