Skip to main content
100%

Untitled

✓ Published0🌍 Public
Ppeterwang6666
Last edited Dec 18, 2021
Created on Dec 18, 2021
Forked from HTML Starter

This pie chart visualizes user-vote outcomes from a small CSV dataset, mapping each user to a colored slice representing their winning choice. The chart is rendered as an SVG using D3 v4’s `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` APIs, with the data loaded via `d3.csv`. Each slice is filled by browser color (from a fixed palette) and labeled with the user’s name, while a title reads “pie chart.” The code also includes an unused loop variable and a console log, but the visualization itself focuses on the proportional distribution of the two outcomes.

AI-generated description
MIT Licensed

Similar vizzes