Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7 question-1

Public visualization

Viewing a saved revision (read-only)

c5dafbbe9c304d09b42db113ff136d01

Activity7 question-1

0 stars0🌍 Public
Iiftequaruddin883@gmail.com
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

A multi-pie chart visualization displays the distribution of movie genres across five rating categories, from below 5.0 to above 8.5. Each pie chart represents one rating bracket, with slices colored by genre and labeled with genre names. The code loads CSV data via `d3.csv` and uses `d3.pie` with `d3.arc` to generate the slices, rendering SVG graphics with `d3.v7`. Categories are processed into separate datasets before calling a `drawPieChart` function for each.

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.