🌍 Public
Viewing a saved revision (read-only)
1ab33f885bef4dd0badddb3a1cf2c1e8
Activity6_Task3(q)
This interactive scatter plot visualizes the relationship between flipper length and body mass for three penguin species, with each dot colored by species. The visualization uses D3.js to load CSV data from a GitHub repository, filter out records with missing values, and render the plot as SVG circles. Axes are scaled linearly using `d3.scaleLinear()` with domain extents computed via `d3.extent()`, while species colors are assigned through a categorical `d3.scaleOrdinal()` range. The chart includes labeled axes and a title, with points positioned via the `svg.selectAll('.dot')` pattern.
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.