li-nguyen's picture
Add final app
f9305b4
metadata
title: Dash summer app challenge 2024
emoji: πŸ“Š
colorFrom: blue
colorTo: blue
sdk: docker
pinned: false
license: apache-2.0
short_description: Entry for the dash summer app challenge 2024

🌞 Dash summer app challenge 2024

This is my entry for the Dash summer app challenge 2024 where I have visualized Amazon purchase history data.

Note: The dashboard focuses on data from 2021 only. Observations with missing product information have been removed for the purpose of the analysis.

The dashboard showcases how purchase data can be visualized and is divided into four main pages:

  • Purchase Overview: Displays key metrics and top performers across four major categories (product category, product items, region, states), with year-to-year comparisons.
  • Product Overview: Highlights the top N best-performing products, allowing users to explore the product hierarchy and identify seasonal patterns. Users can also select the top N for more detailed analysis.
  • Regional Overview: Provides a regional comparison of key metrics and top performers across the four major categories. Users can drill down from region to states to analyze product performance regionally.
  • Customer Overview: Compares various key metrics across different socio-economic categories (e.g., age group, education, income group).

Created by: Huong Li Nguyen


πŸ—“οΈ Data

A special thanks to the authors mentioned below for supplying the data set. The original data set can be accessed here.

  • Authors: Alex Berke and Dan Calacci and Robert Mahari and Takahiro Yabe and Kent Larson and Sandy Pentland
  • Publisher: Harvard Dataverse
  • Title: Open e-commerce 1.0: Five years of crowdsourced U.S. Amazon purchase histories with user demographics
  • Publisher: Harvard Dataverse
  • Year: 2023
  • Version: V1
  • URL: https://doi.org/10.7910/DVN/YGLYDY

πŸ“Š Plotly/Dash resources

πŸš€ Vizro features applied

πŸ–₯️ App demo

Gif to app

How to run the example locally

  1. Install the requirements.txt in your environment.
  2. Download the data survey.csv and amazon-purchases.csv from here and place it in a folder called data.
  3. Run the app.py file with your environment activated.
  4. You should now be able to access the app locally via http://127.0.0.1:8050/.