Skip to main content
100%

task 9_ question 1

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

This example displays a pie chart that visualizes the distribution of two categorical outcomes, "play" and "noplay", from a weather dataset. The chart is rendered as an SVG using D3.js, with data loaded from a CSV file via `d3.csv()`. It uses D3's `pie()` and `arc()` functions to compute the chart geometry and a `scaleOrdinal()` for color mapping, with a legend added on the right.

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