Fork of Activity6_Question3final
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed