Fork of Pie Chart
✓ Published0🌍 Public
This fork of a pie chart visualizes travel expenses by category, displaying each expense segment with its corresponding price label and an aligned legend that pairs color swatches with specification names and values. The chart uses D3 v5 APIs including `d3.pie()`, `d3.arc()`, and `d3.scaleOrdinal()` to compute the pie geometry and color mapping, with data loaded asynchronously from a remote CSV via `d3.csv()`. Rendered as an SVG, the chart positions segments and legend elements through D3’s selection and attribute methods, with text formatting applied via `d3.format()`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed