Nikita's Pie Chart
✓ Published3🌍 Public
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 descriptionMIT Licensed