Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment_2 Reusable Scatter Plot

Public visualization

Viewing a saved revision (read-only)

b7d528f73f7f4beeb354e8237f4913fb

Assignment_2 Reusable Scatter Plot

0 stars0🌍 Public
Cchsaisriharsha@gmail.com
Last edited Jul 23, 2023
Created on Jul 22, 2023

This interactive scatter plot visualizes Palmer penguin measurements, using flipper length, body mass, bill length, and bill depth as axes. The chart cycles through these four variables at timed intervals, updating the x-axis while preserving the y-axis. Colored circles represent penguin species, with a legend mapping each category to a distinct color. Built with D3.js (v6), the example demonstrates reusable chart components through local ES6 module imports, scaling axes with `scaleLinear` and rendering SVG elements with data joins. Data loads from a remote CSV file via D3's `csv` function.

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.