PieChart For Restaurant
✓ Published0🌍 Public
This pie chart visualizes the profit in millions for various Indian restaurants, with each slice labeled directly and accompanied by a legend listing restaurant names and values. The chart uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` APIs to generate SVG paths and text elements. Data is loaded as CSV from a GitHub gist, and the visualization includes a custom color scale and formatted numeric labels. The page styling relies on CSS with the Poppins font against a dark background.
AI-generated descriptionThe above pie chart is created by using html, css, d3.js. CSS is used for styling the web page.
MIT Licensed