Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question3

Public visualization

Viewing a saved revision (read-only)

e78a6717800046678132c3b4c70b2654

Activity6_Question3

0 stars0🌍 Public
PPadmajaKodati@my.unt.edu
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This scatter plot visualizes the penguins dataset, showing the relationship between bill length and bill depth for three species (Adelie, Chinstrap, and Gentoo), with each species represented by a distinct color. The plot uses D3 v6, loading data from a CSV file via `d3.csv`, and renders circles as SVG elements with `d3.select` and `d3.scaleLinear` for mapping data to coordinates. Axis labels are added using `d3.axisLeft` and `d3.axisBottom`, and the visualization fills the browser window with a dynamic width and height.

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.