Skip to main content
100%

Activity 6 tutorial 3.2

✓ Published0🌍 Public
AAamani Chamarthi
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Hello VizHub

This example shows an interactive scatter plot of the Iris dataset, plotting sepal length against petal length and distinguishing species by shape using symbols from `d3.symbol` and the `symbolsFill` scale. The visualization loads CSV data from a GitHub repository, parses it with `d3.csvParse`, and renders axes with `d3.axisLeft` and `d3.axisBottom`. A custom legend clarifies the species shapes. The code uses modular ES6 imports from D3 v7, including `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.extent`, built within a VizHub framework.

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