Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Piechart of NYC Food Data

Public visualization

Viewing a saved revision (read-only)

331fa1de2a96436bb79827f5dd506437

Fork of Piechart of NYC Food Data

0 stars0🌍 Public
Ggaddamthanmayeereddy759@gmail.com
Last edited Mar 26, 2024
Created on Mar 26, 2024

This pie chart visualizes the net worth of movies in billions, using a dataset of movies from a CSV file. The chart displays labeled segments and a legend with movie titles and their corresponding values, with colors assigned via a categorical scale. Built with D3 v5, it uses the `pie` and `arc` generators to create the chart, and `scaleOrdinal` for color mapping. The data is fetched from a GitHub-hosted CSV, and the visualization is rendered in SVG within an HTML page.

AI-generated description

Loading a dataset that has information on food orders/deliveries in NYC through the app Foodhub.

(Dataset from: https://www.kaggle.com/datasets/ahsan81/food-ordering-and-delivery-app-dataset)

Column Description/Data Types

order_id: unique id that is connected to each order (Ordinal)

customer_id: unique id that is connected to the customer ordering the food (Ordinal)

restaurant_name: name of the restaurant that the order is from (Categorical)

cuisine_type: type of food ordered (Categorical)

cost_of_the_order: how much the order cost (Quantitative)

day_of_the_week: either Weekend or Weekday, indicates when the order took place (Categorical)

rating: rating that customer gave on order (out of 5) (Quantitative)

food_preparation: time (in minutes) that it took the restaurant to prepare the order to be delivered (Quantitative)

delivery_time: time (in minutes) that it took for the order to be delivered to the customer (Quantitative)