Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

a2afeda5032f48bf8bcb29cdf40b2c15

ICE 7 Pie Chart

0 stars1🌍 Public
Mmaheganesh
Last edited Mar 29, 2023
Created on Mar 29, 2023
Forked from ICE 7 Pie Chart

This pie chart visualizes the top ten restaurants by daily biryani sales, using color-coded slices to represent each hotel’s total units sold per day. The visualization loads CSV data from a GitHub gist, processes it with `d3.pie()` and `d3.arc()` to generate the chart, and applies `d3.scaleOrdinal` with `schemeCategory10` for coloring. Hovering over a slice logs its sales value to the console. Legends display restaurant names and formatted sales values, all rendered as SVG within a React-based D3 v5 setup.

AI-generated description

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

See also React Starter.