Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart Of the restaurant data

Public visualization

Viewing a saved revision (read-only)

604d66ea9d514f8e86e23f5a6aae3069

Pie Chart Of the restaurant data

0 stars0🌍 Public
Bbhavana.bayyapu@gmail.com
Last edited Mar 25, 2024
Created on Mar 24, 2024
Forked from HTML Starter

This pie chart visualizes the profit analysis of the top 10 Indian restaurants in the USA, with each slice sized by profit in millions and labeled with its value. A legend to the right pairs each restaurant name with its corresponding color and profit figure. The visualization uses D3.js v5, leveraging `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the chart within an SVG. Data is fetched asynchronously from a CSV file hosted on GitHub, and the Poppins font is applied throughout for consistent styling.

AI-generated description

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

See also React Starter.