Skip to main content
100%

Activity7_Task9_Question1

✓ Published0🌍 Public
SShasankreddyganta@my.unt.edu
Last edited Apr 21, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

A pie chart built with D3.js v7 visualizes movie genre ratings from a static array of 20 genres, using arc size to encode rating values. The chart renders as SVG, with each genre slice colored using `d3.schemeCategory10` and positioned via `d3.pie` and `d3.arc`. A legend lists all genres with matching color swatches, while d3 axis components for category and linear scales display alongside the pie, though the axes appear redundant to the circular representation. The example demonstrates D3 module loading via UNPKG and local ES6 imports.

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