Skip to main content
100%

Task8Question4

✓ Published0🌍 Public
Mmanohar varma
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This interactive scatter plot displays the candy dataset, plotting sugar percentage against win percentage, with points colored red or blue to indicate the presence or absence of chocolate. The visualization is built with D3 v6, using `scaleLinear` for the axes, `axisLeft` and `axisBottom` for tick marks, and the `join` operator to bind the data. The SVG canvas resizes to the browser window, and the code loads the CSV data from a remote GitHub source, parsing numeric fields and a categorical chocolate indicator.

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