Activity 7.1 - Q1
✓ Published0🌍 Public
This pie chart visualizes the distribution of movie ratings across six genres, showing the proportion of each genre falling into various rating bands. The chart uses a D3.js pie chart with an ordinal color scale, and interactive tooltips that appear on mouseover. A legend displays the genre-color mapping. The visualization is implemented with `d3.pie`, `d3.arc`, and `d3.scaleOrdinal`, rendering as SVG with D3 v7. Genre data is sourced from a static array within the code.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed