Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-7Q1

Public visualization

Viewing a saved revision (read-only)

6721c27d02eb4c9cb0421fa82689d085

Activity-7Q1

0 stars0🌍 Public
Jjahnavigummadi@my.unt.edu
Last edited Nov 4, 2024
Created on Nov 3, 2024
Forked from Hello VizHub

This example shows five small pie charts displaying genre distributions across five rating ranges, from "below 5.0" to "above 8.5". The dataset is loaded via `d3.csv` from a GitHub raw link, with each chart labeled by rating range. The code uses `d3.pie` and `d3.arc` to generate slices, `d3.scaleOrdinal` with `d3.schemeCategory10` for coloring, and SVG text for slice labels. Each chart includes a legend below it and is rendered as an inline-block div within a flex container.

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.