Skip to main content
100%

Fork of Activity6_Question3final

✓ Published0🌍 Public
Ssaimanvith22@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Activity6_Task3

This scatter plot visualizes the Palmer Penguins dataset, mapping bill length on the x-axis against flipper length on the y-axis. Each point is colored by penguin species using a d3.scaleOrdinal with skyblue, lightgreen, and orange. The code loads data via d3.csv, parses numeric columns, and renders SVG circles with d3.scaleLinear extents, axisBottom, and axisLeft. Axis labels are added as SVG text with rotation, and the chart resizes to the window dimensions via margin calculations.

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