Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_Task9_Question1

Public visualization

Viewing a saved revision (read-only)

7de1fed0368c424b95e1c15c8f7b36d6

Activity7_Task9_Question1

0 stars0🌍 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.