Skip to main content
100%

Activity 6 T3Q1

✓ Published0🌍 Public
Bbhavanadupati3@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This example visualizes the classic Iris dataset with an interactive scatter plot mapping sepal length against petal length. The code loads data from a CSV file via `d3.csvParse` and represents species using different symbols from `d3.symbol` and `d3.scaleOrdinal`. SVG elements are bound to data using D3 v6 joins, with axes generated via `d3.axisLeft` and `d3.axisBottom`. A custom shape legend displays the three species categories, while the overall layout and styling are handled through D3 selections and CSS.

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