Skip to main content
Public

Share visualization

Loading preview…

Fork of Hello VizHub

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Hello VizHub

2
Bbhargavipagolu2025@gmail.com
Last edited Nov 9, 2025
Created on Oct 30, 2025
Forked from Hello VizHub

This D3.js pie chart visualizes the global smartphone market share from a CSV file, displaying each brand or model as a colored slice with a percentage label and a legend on the right. The chart loads data from a GitHub-hosted CSV, dynamically detects label and value columns, and optionally normalizes values to percentages. It uses `d3.csv`, `d3.pie`, `d3.arc`, `d3.scaleOrdinal` with the Tableau10 color scheme, and renders the visualization as an SVG. The code also demonstrates flexible CSV header detection and data preprocessing.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed