Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of ICE-7 Pie Chart

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 Fork of ICE-7 Pie Chart

0
TTekmal-Bhavana
Last edited Mar 30, 2023
Created on Mar 30, 2023

This fork of an ICE-7 pie chart visualizes 2022 laptop market share in India, displaying each company’s sales as a colored wedge. The chart uses d3.pie and d3.arc to construct the segments from CSV data, with d3.scaleOrdinal assigning categorical colors. The code loads data via d3.csv from a Gist URL, renders SVG paths, and appends a legend with d3.select and classed elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed