Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pareto Analysis of Cosmetics Sales with Violin Plot using Flask + D3.js 💄

Build an interactive violin chart to understand the distribution of your e-commerce sales

An Italian economist, Vilfredo Pareto, developed a mathematical formula in 1906 to describe the distribution of wealth in Italy. He discovered that 80% of the wealth belonged to 20% of the population.

Pareto

A few decades later, this rule has been generalised to many other applications, including Supply Chain and Logistics Management.

This principle, called the “Pareto Principle”, “the 80–20 rule” or “The Law of Trivial Many and Critical Few” can be translated for Logistics Practitioners

  • 80% of your company's revenue is made from 20% of your reference
  • 80% of your volume is picked in 20% of your picking locations
  • 80% of your replenishment volume will be performed on 20% of your picking locations

Medium Article

In this Article, we will explore how to apply the Pareto Principle using an actual Logistic operational example.

This is an image

Objective

This repository code can be used to build a visualisation tool to apply the principles presented in this article.

Code

Use the code in this repository as the first step of the analysis to duplicate the example and render it using Python Flask.

  1. Copy the GitHub repository to your local folder and create a local Python environment
  2. Download libraries listed in requirements.txt
  pip3 install -r requirements.txt
  1. Launch app.py
py app.py

Next Steps

Share these visuals with your operations and marketing teams to understand what drives your sales.

Go further

About me

Samir Saci, supply chain engineer and data scientist with ten years in operations across Asia and Europe. Founder of LogiGreen, creator of Supply Science. For consulting on analytics and sustainable supply chain transformation: LogiGreen. More about me: samirsaci.com/about · LinkedIn

About

Build interactive violin plot for Pareto Analysis of your Supply Chain data using Flask and D3.js

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages