π Public
Fork of Pie chart
This example visualizes the top movies and their ratings using a pie chart, with each slice representing a movie and its size proportional to the rating value. The chart renders as an SVG, using D3.js v5's `pie` and `arc` generators to create the segments and a color scale for differentiation. Ratings are loaded from a CSV file via `d3.csv`, and a legend on the right displays each movie's name alongside its corresponding rating value, formatted with `d3.format`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed





![Fork of [TEST] Pie Chart](/viz/840f0b742a35495daf43b635671c050d/social-image.png?v=41fbf4a9513b47548cd09f9c653eab54)


Comments
Sign in to join the discussion.