Skip to main content
100%

Activity 7-5

✓ Published0🌍 Public
Ppjdhungana@gmail.com
Last edited Jun 28, 2023
Created on Jun 28, 2023
Forked from Hello VizHub

This example displays the classic Iris dataset as a scatter plot, mapping sepal length against petal length and encoding species with distinct symbol shapes. It renders points as scalable vector graphics using D3.js version 7, leveraging `scaleLinear`, `scaleOrdinal`, and `symbol` generators. The visualization includes labeled axes and a custom shape legend built with local ES6 modules. Data is loaded asynchronously from a remote CSV and parsed with `csvParse` before rendering.

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