Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6_Question-3

Public visualization

Activity-6_Question-3

0 stars1🌍 Public
HHarshathBudida@my.unt.edu
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This scatter plot visualizes penguin species data, displaying flipper length against body mass for individual penguins, with each species represented by a distinct color (red for Adelie, blue for Gentoo, black for other). It uses D3 v5 loaded via UNPKG, reading a CSV file and mapping data to SVG circles. The code creates custom axes with D3's scaleLinear, axisLeft, and axisBottom functions, and adds labels to clarify the chart’s dimensions.

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.

Comments

Sign in to join the discussion.

MIT Licensed