Skip to content

Commit

Permalink
Merge pull request #1 from yesdeepakmittal/initial-code
Browse files Browse the repository at this point in the history
Initial code
  • Loading branch information
yesdeepakmittal authored Mar 7, 2022
2 parents e58482c + 26bce6e commit 856c2aa
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 36 deletions.
46 changes: 19 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,23 @@
<div align="center">
<p align="right"><a href="https://github.com/yesdeepakmittal/">About Author</a></p>
<h1>Business Dashboard using Python</h1>
</div>
## About Project
This repository contains code for a full-stack web-based Python application.

<div>
<h2>1. About the project</h2>
<p>This repository consists of a code of a Sales Dashboard which is made using python.
This code is free to use by anyone and licensed under the MIT open-source license.
In this dashboard, there are separate dropdowns for analyzing different dimensions of sales.
The core python libraries used in this dashboard are dash, plotly, dash_core_components, dash_html_components, dash_bootstrap_components, etc.
The app is deployable on the server and deployed on <a href="https://busidashboard.herokuapp.com/">Heroku</a>.
</p>
</div>
## How to use it?
Current version of Python( >= 3.9) may not run this application properly due to different versions of dependencies.
- Install earlier version of [Python(~ 3.6)](https://www.python.org/ftp/python/3.6.8/python-3.6.8-amd64.exe)
- Make a [Virtual Environment](https://gist.github.com/yesdeepakmittal/61494217c8be4a7e61524e27824943bd) and activate it.
- Clone this repository `git clone https://github.com/yesdeepakmittal/Business_Dashboard.git`
- `cd Business_Dashboard`
- `pip install -r requirements.txt`
- run application using `python index.py`
- Check your application in the browser at `http://127.0.0.1:8050/`

<div>
<h2>2. Contributor</h2>
<p><a href="https://github.com/yesdeepakmittal"target="_blank">Deepak Mittal</a></p>
</div>
## Overview

<div>
<h2>3. Data Source</h2>
<p>🌐 <a href="https://www.kaggle.com/juhi1994/superstore">kaggle</a></p>
</div>
<div><img src="assets/map.jpg" alt="Heat Map" width="700" height="500"></div>
<div><img src="assets/regionwisesubcategory.jpg" alt="Heat Map" width="700" height="500"></div>
<div><img src="assets/sales.jpg" alt="Heat Map" width="700" height="500"></div>
<div><img src="assets/salescitywise.jpg" alt="Heat Map" width="700" height="500"></div>

<div>
<h2>4. Reference</h2>
<p><a href="https://dash-bootstrap-components.opensource.faculty.ai/docs/components/navbar/">dash-bootstrap-components</a></p>
<div>
<p align="right"><b>Happy Coding :)🖤🖤🖤</b></p>
</div>

## Data Source
[Kaggle](https://www.kaggle.com/juhi1994/superstore)
Binary file removed assets/deepakphoto.JPG
Binary file not shown.
Binary file added assets/map.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/regionwisesubcategory.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/sales.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/salescitywise.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions home/home.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
row = dbc.Row([
dbc.Col(dbc.Jumbotron([
html.H5(children="About Author"),
html.P("Data Enthusiast & Business Geek"),
html.P("Data Scientist"),
html.Hr(),
html.P("Follow me on Github"),
html.A(dbc.Button("Read here", color="primary"),href='https://github.com/yesdeepakmittal')],
html.P("Treat Data & People equally"),
html.A(dbc.Button("Follow Author on Github", color="primary"),href='https://github.com/yesdeepakmittal')],
), lg=4, md=4, xs=12),
dbc.Col(dbc.Jumbotron([
html.H5(children="For Demo Only"),
Expand All @@ -21,17 +21,17 @@
html.A(dbc.Button("Read here", color="primary"),href='https://github.com/yesdeepakmittal')],
), lg=4, md=4, xs=12),
dbc.Col(dbc.Jumbotron([
html.H5(children="Python Introduction"),
html.P("One of the easiest and most widely used programming language in the world."),
html.H5(children="Improve Application"),
html.P("Feel free to open an issue in Github Repository for any Suggestion/Improvement"),
html.Hr(),
html.P("Read the full blog at SolvProb"),
html.A(dbc.Button("Read here", color="primary"),href='https://github.com/yesdeepakmittal')],
html.P("Click below button to open an issue"),
html.A(dbc.Button("Open issue", color="primary"),href='https://github.com/yesdeepakmittal/Business_Dashboard/issues/new')],
), lg=4, md=4, xs=12)],justify='around')


layout = html.Div(children=[html.H1(children='Sample Superstore Data Analysis'),
html.P(children='This data analysis is made on Sample Superstore data of Tableau. '),
html.Div(['Click for complete Up-to-date data👉',html.Button('Update-data', id='button')]),
html.P(children='Python Web Application made using low-code framework, Dash'),
html.Div(['Update Data👉',html.Button('Update-data', id='button')]),
html.Br(),
row,
html.Div(id='Output',children='')],
Expand Down

0 comments on commit 856c2aa

Please sign in to comment.