-
Notifications
You must be signed in to change notification settings - Fork 0
/
CSC3007_Darkhaki_Team_Project_Poster.qmd
167 lines (134 loc) · 6.21 KB
/
CSC3007_Darkhaki_Team_Project_Poster.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
---
title: The Rise of Virtual Kitchens (2020--2023)
format:
poster-typst:
size: "33x23" # Approximately A1
poster-authors: "Zhang XiangHui, Lin WeiChen, Priscilla Thung, Tang Guan You, Arshad Bin Mazlan, Wong Jing Yong Shawn"
departments: "Information and Communication Technologies"
institution-logo: "./images/sit-logo.png"
footer-text: "Information Visualization 2024"
footer-emails: "Student IDs: 2101993, 2101642, 2101684, 2101672, 2101982, 2101229"
execute:
echo: false
knitr:
opts_chunk:
dev: svglite
editor:
markdown:
wrap: 72
---
```{r}
#| label: setup
#| include: false
library(knitr)
```
# Introduction
The COVID-19 pandemic has profoundly transformed numerous industries,
and the food and beverage sector is no exception. One of the most
notable developments during this period has been the rapid growth of
virtual kitchens, also known as ghost kitchens or cloud kitchens.
Virtual restaurants in this context means that the restaurant is only
available for pickup/delivery and there’s no dine in option. They are
“ghost restaurants”, there is no place to walk up to, no signage, no
seating. These restaurants operate out of commercial warehouses or
trailers. And people usually patronize these virtual restaurants through
delivery apps due to the restaurant names, and attractive images.[^1]
[^1]: https://academy.getbackbar.com/understanding-the-concept-of-virtual-restaurants
Virtual kitchens represent a significant shift in food production,
marketing, and consumption by offering increased flexibility and
efficiency. This transformation encourages both consumers and
restaurateurs to embrace innovative approaches, fostering a dynamic and
resilient food service landscape. This project aims to enhance previous
visualizations and provide a comprehensive overview of the expansion of
virtual kitchens across various states.
# Previous Visualization
```{r}
#| label: fig-percentage-of-virtual-restaurants-in-a-city
#| fig-cap: "Percentage of restaurant listings in a city."
#| out-width: 95%
include_graphics("images/Virtual_restaurants_near_you.png")
```
# Strengths
- The visualization is simple and straightforward to understand.
- It shows the top 12 cities with the highest percentage increase of
virtual restaurants, which allows the reader to understand the
cities that are in popularity for these virtual restaurants.
- Based on the data, you can really see the huge boom in popularity of
virtual restaurants over the years.
# Suggested Improvements
1. **Add a plot title and a source note:** Ease the reader's understanding of the \
visualization.
2. **Identify missing data:** If there are missing data, it should be clearly indicated.
3. **Ensure consistency in labels:** Consistency in data annotation (the percentage) can help \
readers understand the visualization easily.
4. **Add a legend:** A legend can help readers understand the
visualization easily while \
reducing misinterpretation of the visualization.
5. **Include statistics for every state:** Statistics will help readers get an overview of the \
virtual restaurants across the country.
6. **Use a choropleth map:** A choropleth map can help readers
visualize the distribution of \
restaurants in different states more effectively.
7. **Use a sequential color palette:** A sequential color palette helps convey a natural and \
intuitive sense of increasing or decreasing magnitude.
8. **Bin the data:** Binning the data allows a range of values to be grouped together to simplify \
and clarify the visualization.\
9. **Add labels for each state:** To avoid overplotting, use
two-letter abbreviations instead of \
full state names.
```{=typst}
#v(3em)
```
# Implementation
## Data
- The data used in this visualisation was obtained from Kaggle [^2]
and GitHub [^3], that was scraped \
from Uber Eats[^4].
- The datasets
contains information on the number of restaurants and important data such as name, full address, lat, long.
- The data was cleaned and transformed to extract the state
abbreviation and the year partnered.
[^2]: <https://www.kaggle.com/datasets/ahmedshahriarsakib/uber-eats-usa-restaurants-menus?resource=download&select=restaurants.csv>
[^3]: <https://github.com/gsunit/Extreme-Uber-Eats-Scraping/blob/master/1.5M-Uber-Eats-Restaurants.zip>
[^4]: <https://www.ubereats.com>
## Software
We used the Quarto publication framework and the R programming language,
along with the following third-party packages:
- *dplyr* for data manipulation
- *tidyverse* for data transformation
- *ggplot2* for visualization based on the grammar of graphics
- *usmap* for plotting the US map
- *scales* for formatting the scales of the plot
- *sf* for spatial data manipulation
- *ggtext* for formatting text in the plot
- *stringr* for string manipulation
- *knitr* for dynamic document generation
```{=typst}
#v(6em)
```
# Improved Visualization
```{r}
#| label: fig-percentage-increase-of-restaurants-in-US
#| fig-cap: "Percentage increase of virtual kitchens in the United States."
#| out-width: 125%
include_graphics("images/Percentage-increase-of-restaurants-in-US.png")
```
# Further Suggestions for Interactivity
Due to the intention of the visualization to be used in a poster, there
are no interactive elements. However, if the visualization were to be
used in a digital format, the following interactive elements could be
added:
1. *Hover-over information*: When hovering over a state, the user can
see the number of virtual kitchens in that state.
2. *Filtering*: Users can filter the data by year to see how the number
of virtual kitchens has changed over time.
3. *Zooming*: Users can zoom in on a specific region to see the number
of virtual kitchens in more detail.
4. *Search*: Users can search for a specific state to see the number of
virtual kitchens in that state.
# Conclusion
We have implemented the suggested improvements to the visualization. By
using a choropleth map, it ensures that the data is much more easily
understood as readers can identify areas with a higher percentage of
virtual kitchens and get an overview of the distribution of virtual
kitchens.