Skip to main content
100%

Fork of activitty7.1question1

✓ Published0🌍 Public
Ggketan456@gmail.com
Last edited Nov 5, 2024
Created on Nov 4, 2024

This pie chart shows the distribution of clothing sizes from a CSV dataset loaded from a GitHub gist. The code uses d3.csv to fetch the data, counts size occurrences, and renders a categorical pie with d3.pie, d3.arc, and d3.scaleOrdinal with schemeCategory10 colors. Labels appear at each arc’s centroid, and an HTML legend is built below the SVG using D3 selections. The visualization renders in SVG with a 600x600 viewport.

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