Skip to main content
100%

Activity 7.1 - Q1

✓ Published0🌍 Public
Ppnamitha46@gmail.com
Last edited Nov 4, 2024
Created on Nov 4, 2024
Forked from Hello VizHub

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 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