Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3_3.2

Public visualization

Viewing a saved revision (read-only)

eeaf12c00221490c90a6807d6fe4a1f0

Activity6_Task3_3.2

0 stars0🌍 Public
RRishithaGarnepudi@my.unt.edu
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This example visualizes the Iris dataset, mapping sepal length and petal length on the x- and y-axes while distinguishing species by shape. Each data point is a d3 symbol, rendered using `symbolGenerator`, with a shape legend showing the species categories. The code builds the visualization with D3 v7, using `scaleLinear`, `scaleOrdinal`, `axisLeft`, and `axisBottom` from the `d3` module. Data is loaded as CSV from GitHub and parsed with `csvParse`. The scatter plot is drawn in an SVG canvas sized to the window, with axes and labels configured programmatically.

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.