Fork of Activity 6_Q6
✓ Published0🌍 Public
This scatter plot visualizes candy data from a GitHub-hosted CSV file, plotting sugar percentage against win percentage. Circles are colored red or blue based on whether the candy contains chocolate. The visualization uses D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `join` to render the SVG, with axis labels styled via CSS. The plot dynamically fits the browser window dimensions.
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