Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

PieChart For Restaurant Data

Public visualization

Viewing a saved revision (read-only)

6c7bf5f640e34364be06c177ea5ab75d

PieChart For Restaurant Data

0 stars3🌍 Public
Kkoteswararao614@gmail.com
Last edited Mar 27, 2024
Created on Mar 25, 2024
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.