Skip to main content
100%

Nikita's Pie Chart

✓ Published3🌍 Public
Nnikitamakkena
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Fork of Pie Chart

Nikita's Pie Chart visualizes movie ratings as a proportional pie chart, with each slice colored by movie title and accompanied by an interactive legend showing the rating value in points. The chart uses D3 v5’s `pie()` generator to compute arc angles, `arc()` to render SVG paths, and `scaleOrdinal` for categorical colors. Data is loaded asynchronously from a CSV gist via `d3.csv`. The legend, built with D3 selections, pairs colored rectangles with movie names and formatted rating values using `format('.4~g')`.

AI-generated description
MIT Licensed

Similar vizzes