Skip to main content
100%

PieChart For Restaurant Data

✓ Published3🌍 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

The above pie chart is created by using html, css, d3.js. CSS is used for styling the web page.

MIT Licensed

Similar vizzes