Skip to main content
100%

Activity_7.1.1_Question_1

✓ Published1🌍 Public
Aadityatrip9899@gmail.com
Last edited Nov 8, 2024
Created on Nov 7, 2024
Forked from D3 Starter

This example shows web browser market share as a pie chart, with each slice labeled by browser name and a color-coded interactive legend listing share values. It loads CSV data from a GitHub Gist using `d3.csv`, converts the share column to numbers, and builds the chart with `d3.pie` and `d3.arc`. The SVG is generated with D3 v7, using `d3.scaleOrdinal` with `schemeCategory10` for colors and `arc.centroid` for label positioning.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes