π Public
Pie Chart Of the restaurant data
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 descriptionThe above pie chart is created by using html, css, d3.js. CSS is used for styling the web page.
MIT Licensed
Comments
Sign in to join the discussion.