Skip to main content
100%

Fork of Activity 6_Q6

✓ Published0🌍 Public
KKarnam Abinay Goud
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Activity 7

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 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