🌍 Public
Viewing a saved revision (read-only)
6c7bf5f640e34364be06c177ea5ab75d
PieChart For Restaurant Data
A pie chart visualizes the profit analysis of the top 10 Indian restaurants in the USA, with each slice representing a restaurant's profit in millions and a legend listing names and values. The visualization uses D3 v5 APIs including `pie()`, `arc()`, and `scaleOrdinal()` to generate SVG path segments with color-coded fills and white text labels. Data is loaded asynchronously from a CSV file via `csv()`, and the chart renders within a 960x600 SVG container with a dark themed stylesheet.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.