Sales department, Company CEO
Transactional data includes:
dateSold
On which day was the product solditem
which item was soldqty
quantity was soldprice
sold at what pricelat
delivary Latitudelong
delivary Longitudegender
gender of person purcheased the devicerating
rating after using the devicesoldFromBranch
from which the device was ordered
- What is the overall trend in sales over time based on "dateSold"?
- What is the quantity of each item sold in year?
- How does the quantity sold vary across different items?
- Are there geographic patterns in sales based on "lat" and "long"?
- Which branch has the highest sales?
- Are there specific items that are more popular among a particular gender?
- Which branch has the highest sales and which has the lowest?
- What is the rating of each item for each item branch and year?
All Charts are visable all the time
Figure 1 data by products in dashboard
Shows Total Sales in USD and quantity of sold items an of each product and items ordered descending according to total sales
Figure 2 Sales trend
Auto generated by AmCharts5 for each product
- X axies: Date
- Y Axies: Quantity sold
- Lines: Each line represents the sales of a product
Containes the line of each item in the chart
Questions 1,2,3
Figure 3 sales by gender
Auto generated by AmCharts5 for each product
- X Axies: Product Names
- Y Axies: Quantity sold
- Stacked Bars: Each line represents the sales of a product
Controls Bars of Male and Female bars
Questions 3,6,7
Figure 4 Demographic Sales
Auto generated by AmCharts5 for each product
- Dots represents sales in a region
Questions 4
Figure 5 Rating by gender
Auto generated by AmCharts5 for each product
- X Axies: Product Names
- Y Axies: Average Ratings
- Bars: Each bar represents the rating of a product by gender
Questions 6,8
Figure 6 Filter items
Updates all charts dynamically
All Questions
- Figure 1 On the top for the sales Because the user needs to know sales by numbers
- Figure 2 Left first row After knowing sales by numbers to know the general trend
- Figure 3 Right first row After knowing sales trend and user need to sales by gender and the users read Left-to-right
- Figure 4 Left Second row to know the sales distribution around the globe
- Figure 5 Right Second row to know ratings after the number of sales
- Make color themes for the dashboard
- Improve fonts and font sizes
- Reduce clutters in graphs
- Run
$ py server.py
- Launch in browser https://localhost:5000
- Data is generated using class
DummyDataGenerator
- Data is saved to sqlite database
- Queries are run and results returned in pandas DataFrames
- DataFrames are serialized to JSON string and sent to Front End