Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of ICE - 7 Pie chart

Public visualization

Viewing a saved revision (read-only)

3881edac21114ea494adde3e5a7f2299

Fork of Fork of ICE - 7 Pie chart

0 stars1🌍 Public
Ppremsaiv
Last edited Mar 29, 2022
Created on Mar 29, 2022

This pie chart visualizes survey responses about people’s preferred social media platforms, displaying each category’s percentage share. The chart uses D3.js v5 with SVG rendering, fetching CSV data via `d3.csv` and constructing arcs with `d3.pie()` and `d3.arc()`. Each slice is labeled with its percentage, and a legend lists the platform names alongside color swatches and values. Colors are assigned using `d3.scaleOrdinal`, while text formatting relies on `d3.format`.

AI-generated description