Skip to main content
100%

Activity6_Tutorial3.2

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

This example demonstrates a scatter plot of the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis. It visualizes the three iris species using distinct shapes via a categorical scale and includes a custom shape legend. The visualization loads CSV data from a GitHub repository, uses d3.csvParse to parse it, and builds the chart with d3.scaleLinear, d3.scaleOrdinal, d3.symbol, and d3.axisLeft/axisBottom. Axes and legend are modularized into reusable ES6 modules.

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