piechart ICE-7
✓ Published0🌍 Public
CChathurya
Last edited Mar 27, 2023
Created on Mar 27, 2023
This pie chart visualizes the top 10 most streamed songs, with each slice sized by danceability percentage and labeled in a legend alongside song titles. The chart is built with D3 v5 in a React application, using `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate SVG paths and color-coded segments. Data is fetched as CSV from a GitHub gist, and legends are rendered with SVG rectangles and text elements. The visualization highlights relative danceability metrics, with a fixed color palette and no interactive features.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed