Skip to main content
100%

Activity6_Question3

✓ Published0🌍 Public
Ggnanendra097@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example shows a scatter plot of the candy dataset, mapping sugar percentage on the x-axis and win percentage on the y-axis. Each circle is colored red or blue depending on whether the candy contains chocolate. The visualization uses D3 v6 with SVG rendering, loading data from a GitHub-hosted CSV file. It applies `scaleLinear` for both axes, `extent` to set domains, and `axisLeft` and `axisBottom` for tick marks, along with explicit axis labels.

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