Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ass2 q1

Public visualization

Viewing a saved revision (read-only)

47f0ab807a514091a78f3c69509955b5

ass2 q1

0 stars0🌍 Public
Sshravan.s0710@gmail.com
Last edited Apr 13, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

This pie chart visualizes the price of HBOMAX in different countries, with each slice labeled with its dollar value and a legend mapping colors to countries. The data is loaded from a CSV file hosted on GitHub. The visualization uses D3 v5 APIs including `d3.select`, `d3.json`, `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate SVG arcs and text labels, while styling is applied through CSS selectors in the SVG.

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.