Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7

Public visualization

Viewing a saved revision (read-only)

8ac35952045245d1b4c4e6cdf689147f

Activity 7

0 stars0🌍 Public
AAkhileshVadlakonda@my.unt.edu
Last edited Nov 6, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

This donut chart displays the mobile market share percentages of various brands for 2024, with each slice labeled directly on the chart. A supplementary legend lists each brand alongside its corresponding percentage. Built with D3 v7, the visualization uses `d3.pie()` to compute slice geometry, `d3.arc()` for rendering paths, and `d3.scaleOrdinal` with the Set3 color scheme. The data is loaded from a remote CSV file via `d3.csv()`, and the chart is rendered as SVG with interactive-free, static labels positioned using the arc centroid method.

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.