Skip to main content
100%

Fork of Nikita's Pie Chart

✓ Published0🌍 Public
Rradhadevarapu
Last edited Mar 10, 2023
Created on Mar 10, 2023
Forked from Nikita's Pie Chart

A pie chart visualizes movie review ratings from a CSV dataset loaded via a Gist URL, with each slice colored and labeled by movie title alongside a legend showing its numeric rating. Built with D3 v5, the code uses `d3.csv` to fetch data, `d3.pie` to compute arc angles, `d3.arc` to generate SVG paths, and `d3.scaleOrdinal` for color assignment. The SVG renders centered slices and a legend with rectangles and text, formatted using `d3.format`.

AI-generated description
MIT Licensed

Similar vizzes