GithubHelp home page GithubHelp logo

clabrugere / ecommerce-dash Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 4.0 79.73 MB

Example of a Dash application applied to e-commerce data to represent key metrics in the form of an interactive dashboard

License: MIT License

Python 4.79% CSS 0.22% Jupyter Notebook 94.98%
dash ecommerce dashboard

ecommerce-dash's Introduction

Sales Dash application

This is a small project showing capabilities of Plotly Dash. It consists in a simple example of an e-commerce dashboard to monitor sales with some business KPIs and visualization based on transactional data with a simple ARMA sales 15 days look-ahead forecast. It is based on the public data Brazilian E-Commerce Public Dataset by Olist available on Kaggle.

The dataset contains around 100k transactional data about orders on a Brazilan e-commerce platform named Olist. Details on the dataset can be found on Kaggle.

Demo

A live demo of the app can be found here

alt text

Getting Started

Just clone this repository, navigate to the directory and execute the command:

python app.py

Requirements

  • Python 3.7
  • numpy
  • pandas
  • dash
  • plotly
  • statsmodels

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Olist and André Sionek, “Brazilian E-Commerce Public Dataset by Olist.” Kaggle, doi: 10.34740/KAGGLE/DSV/195341.
  • Dash Natural Gas Well Production demo from which I largely took inspiration.

ecommerce-dash's People

Contributors

clabrugere avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

ecommerce-dash's Issues

Issue with Arima model

Hi, i took your app as a reference for one my ecommerce app.Kindly use below module to fix the raise error in ARIMA prediction.

from statsmodels.tsa.arima_model import ARIMA is got depreciated.

I could see new error after updating module to "from statsmodels.tsa.arima.model import ARIMA"
server: <Flask 'app'>
loading data: <dash.dash.Dash object at 0x000001D5B69611F0>
computing forecast data:
File "E:\My_Poc\reporting\ecommerce-dash\src\model.py", line 13, in predict
model_fit = model.fit(
File "E:\My_Poc\reporting\ecommerce-dash\venv\lib\site-packages\statsmodels\tsa\arima\model.py", line 318, in fit
self._spec_arima.validate_estimator(method)
File "E:\My_Poc\reporting\ecommerce-dash\venv\lib\site-packages\statsmodels\tsa\arima\specification.py", line 731, in validate_estimator
raise ValueError('"%s" is not a valid estimator.' % estimator)
ValueError: "css" is not a valid estimator.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.