Skip to main content
100%

Activity 7 PieChart

✓ Published0🌍 Public
Rraaghaveramireddy@my.unt.edu
Last edited Nov 7, 2024
Created on Nov 6, 2024
Forked from Hello VizHub

This pie chart visualizes the distribution of music genres with ratings above 8.5 from a CSV dataset loaded via D3’s `d3.csv` method. It uses `d3.pie()` to compute arc angles and `d3.arc()` to generate SVG paths, with an ordinal color scale and a custom legend. The chart renders in a responsive SVG canvas, employing `d3.scaleOrdinal` for categorical colors and `d3.arc` for shape generation.

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