“Other foods” which are items like condiments, baking ingredients, spices and herbs, and specialty foods is the category that has experienced the highest percentage increase in price over the past year. We can see this in the peak that all categories have around 2022, where the “Other Foods” represented by the purple line reaches the highest point compared to other categories at 12.7. Throughout the years leading up to 2020, the trend for Other foods aswell as all the other categories experience significant fluctuations, with an increase in growth that sharply rises in the last year. We recommend that FreshFare uses these analytical tools for continuous monitering of grocery categories. This will allow FreshFare to analyze how inflation impacts different grocery categories over time and identify the categories with the highest sensitivity for price changes.
Source: USDA| Category | Correlation to Inflation |
|---|---|
| Meats | 0.38 |
| Dairy Products | 0.69 |
| Fruits and Vegetables | 0.56 |
These plots illustrate data FreshFare will use to track the prices of specific categories. As seen, they all behave differently. Meat has a very low correlation, 0.38, compared to inflation which signals that Meat should be researched into why the price fluctuates. Dairy products appear to follow the inflation rate more closely with a correlation of 0.69. FreshFare can use these plots and tables to pinpoint categories that need further research or categories that generally follow inflation. FreshFare can also use this table to track correlation change of a category to see if it is inflation related.
Data Sources: CPI Categories Inflation Rate
These visualizations highlight the significant regional differences in grocery costs across the United States, with a focus on the Northeast and Midwest regions. The map shows that the Northeast region, where FreshFare operates, has some of the highest average monthly grocery costs per person, as reflected in states like New York and Massachusetts. This underscores an opportunity for FreshFare to position itself as a premium brand by emphasizing quality and locally sourced products that align with customer expectations in high-cost areas. Meanwhile, the bar chart provides a detailed comparison of average grocery costs in key states, showing that the Northeast generally surpasses the Midwest in monthly costs. This data can guide FreshFare in tailoring its pricing, promotions, and inventory strategies to meet the economic realities of its primary market while also exploring potential expansion opportunities into lower-cost regions, where competitive pricing could be leveraged to attract cost-sensitive consumers. Source: World Population Review
In the following scatter plots, you can explore the relationship between the monthly inflation rate and the grocery store sales. Scatter plots are ideal for visualizing this data, as they help to show the correlation and strength of the relationship of the two variables, and they help to identify any specific patterns or outliers. Based on the graphs below, we are able to see that the CPI steadily increased from 2020 to 2024, showing that overall prices kept rising over time. On the other hand, the inflation rate went up and peaked around 2022, then started to drop, meaning prices were rising quickly at first but then slowed down. While the CPI shows the overall trend of rising prices, the inflation rate highlights how quickly or slowly those prices are changing in the short term. Together, they provide a clearer understanding of both long-term price trends and short-term price movements.
This dashboard was created using Quarto in RStudio, Canva, and the R Language and Environment.
The data used to create this dashboard were downloaded from:
Arnold, J. B. (2021). ggthemes: Extra Themes, Scales, and Geoms for ‘ggplot2’. R package version 4.2.4. Retrieved from https://CRAN.R-project.org/package=ggthemes
Auguie, B. (2022). gridExtra: Miscellaneous Functions for “Grid” Graphics. R package version 2.3. Retrieved from https://CRAN.R-project.org/package=gridExtra
Bache, S. M., & Wickham, H. (2022). magrittr: A Forward-Pipe Operator for R. R package version 2.0.4. Retrieved from https://CRAN.R-project.org/package=magrittr
Becker, R. A., Wilks, A. R., Brownrigg, R., Minka, T. P., & Deckmyn, A. (2022). maps: Draw Geographical Maps. R package version 3.4.1. Retrieved from https://CRAN.R-project.org/package=maps
Dancho, M., & Vaughan, D. (2022). tidyquant: Tidy Quantitative Financial Analysis. R package version 1.0.5. Retrieved from https://CRAN.R-project.org/package=tidyquant
Kunst, J. R. (2023). highcharter: A Wrapper for the ‘Highcharts’ Library. R package version 0.9.4. Retrieved from https://CRAN.R-project.org/package=highcharter
Neuwirth, E. (2022). RColorBrewer: ColorBrewer Palettes. R package version 1.1-3. Retrieved from https://CRAN.R-project.org/package=RColorBrewer
OpenAI. ChatGPT (December 5 version). 2024. OpenAI, https://openai.com/chatgpt
Rinker, T. W. (2023). pacman: Package Management for R. R package version 0.5.1. Retrieved from https://github.com/trinker/pacman
Vaidyanathan, R., Xie, Y., Allaire, J., Cheng, J., & Russell, K. (2022). dygraphs: Interface to ‘Dygraphs’ Interactive Time Series Charting Library. R package version 1.1.1.8. Retrieved from https://CRAN.R-project.org/package=dygraphs
Wickham, H., Averick, M., Bryan, J., Chang, W., McGowan, L., François, R., Grolemund, G., Hayes, A., Henry, L., Hester, J., Kuhn, M., Pedersen, T. L., Miller, E., Bache, S. M., Müller, K., Ooms, J., Robinson, D., Seidel, D. P., Spinu, V., … Yutani, H. (2019). Welcome to the tidyverse. Journal of Open Source Software, 4(43), 1686. https://doi.org/10.21105/joss.01686
Wickham, H., François, R., Henry, L., & Müller, K. (2023). dplyr: A Grammar of Data Manipulation. R package version 1.1.2. Retrieved from https://CRAN.R-project.org/package=dplyr
Wickham, H., & Bryan, J. (2023). readxl: Read Excel Files. R package version 1.4.2. Retrieved from https://CRAN.R-project.org/package=readxl
Wickham, H. (2016). ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York. Retrieved from https://ggplot2.tidyverse.org
Zhu, H. (2022). kableExtra: Construct Complex Table with ‘kable’ and Pipe Syntax. R package version 1.3.4. Retrieved from https://CRAN.R-project.org/package=kableExtra