Skip to content

Commit 68b8b3f

Browse files
authored
Update Readme.md
Co-authored-by: NIKITA320495 [email protected] Co-authored-by: Leena2403 [email protected]
1 parent d7fbc37 commit 68b8b3f

File tree

1 file changed

+15
-19
lines changed

1 file changed

+15
-19
lines changed

streamlit/Readme.md

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ The web app is still under construction. The authors are in the process of updat
1313

1414
#### Steps To Run Streamlit Locally:
1515
- cloning
16-
- firstly, fork the repository and then clone to your local files via vs code.
17-
![](streamlit/Visualizations/cloning-1.png)
18-
- then ,
19-
![](streamlit/Visualizations/cloning-2.png)
16+
- firstly, fork the repository and then clone to your local files via vs code (for cloning press ctrl +shift+ p).
17+
- ![](Visualizations/cloning-1.png?raw=true)
18+
- ![](Visualizations/cloning-2.png?raw=true)
2019

2120
- terminal
22-
21+
- locate the streamlit folder.
22+
- run the python -m streamlit run home.py in your cmd terminal.
23+
- ![](Visualizations/terminal.png?raw=true)
2324
# Solutions Provided
2425

2526
- used streamlit along with some html and css to make the whole webpage.
@@ -71,23 +72,23 @@ We directly saved the cleaned and preprocessed datasets from the Jupyter Noteboo
7172
## Folders and Files##
7273

7374
*Visualisations*
74-
- [Visualisations](https://github.com/Leena2403/predictive-crime-analysis-first_prototype/tree/main/Visualisations) - it contains some of the visualizations of tha analysis and the graphs. the screenshots of our project and some templates.
75+
- [Visualisations](https://github.com/NIKITA320495/Stackoverflow-Analysis/tree/main/streamlit/Visualizations) - it contains some of the visualizations of tha analysis and the graphs. the screenshots of our project and some templates.
7576

7677

7778
*Functions*
78-
- [Functions](https://github.com/Leena2403/predictive-crime-analysis-first_prototype/tree/main/Visualisations) - Dedicated functions for all the analyses, and the predictions that are present in the main analysis file of the Jupyter Notebook, are created.
79+
- [Functions](https://github.com/NIKITA320495/Stackoverflow-Analysis/blob/main/streamlit/functions.py) - Dedicated functions for all the analyses, and the predictions that are present in the main analysis file of the Jupyter Notebook, are created.
7980
- Most of the functions are using Plotly library for the clear and better visuals.
8081
- These functions are flexible to be used with dataset of any year, given that the pre-processing stage is compatible with the existing dataframes.
8182
- some of the functions are plot_boxplot() for plotting the boxplot , plot_bar_plotly() for plotting the bargraph , plot_age_distribution() for plotting the age distribution , gender_vs _top5countries() for comparing and plotting the gender and top 5 countries respondants , and many more.
8283

8384
*Main Analysis*
84-
- [Main Analysis](https://github.com/Leena2403/predictive-crime-analysis-first_prototype/tree/main/Visualisations) - The main visualisations from our web app providing the png files for bar graphs, line plots, and maps.
85+
- [Main Analysis](https://github.com/NIKITA320495/Stackoverflow-Analysis/blob/main/streamlit/main_analysis.py) - The main visualisations from our web app providing the png files for bar graphs, line plots, and maps.
8586
- The main visualisations from our web app providing the png files for bar graphs, line plots and maps.
8687
- Districtwise plotting of crime along with the heat maps is present.
8788
- Vulnerable crime areas are included using records of victim analysis. Folium is being used to display the auto-generated html files.
8889

8990
*Home*
90-
- [Home](https://github.com/Leena2403/predictive-crime-analysis-first_prototype/tree/main/Visualisations) - The main visualisations from our web app providing the png files for bar graphs, line plots, and maps.
91+
- [Home](https://github.com/NIKITA320495/Stackoverflow-Analysis/blob/main/streamlit/home.py) - The main visualisations from our web app providing the png files for bar graphs, line plots, and maps.
9192
- set the structure of our main interface.
9293
- we made a slidebar that gives an option to select from the year 2018,2019 and 2020.
9394
- it runs different functions based on the year such as if the selected year is 2018 it shows all the visualizations related to year 2018 and same with 2019 and 2020.
@@ -98,22 +99,17 @@ If specific year is selected from the slidebar, it shows all the visualizations
9899
First of all, it shows the data preview for the specific year, then all the data visualizations are shown related to that year.
99100
some of the visualizations such as common for the all the year such as Top Gender Distributions, Distribution of Annual Salary for Top Countries, Geographical plot to show number of respondents in each country,Income vs gender, Ethnicity vs participation, gender vs participation,country wise data scientists presentation, Features of job selection, Education level vs salary,etc
100101

101-
#### Top Gender Distribution
102-
![](Visualizations/district_heatmap.png)
103-
104102
#### Distribution of annual salary for top countries
105-
![](Visualizations/district_analyssi.png?raw=true)
106-
103+
![](Visualizations/annual-salaries.png?raw=true)
107104
#### Income vs Gender
108-
![](Visualizations/criminal_analysis.png?raw=true)
109-
105+
![](Visualizations/income-vs-gender.png?raw=true)
110106
#### Ethnicity vs participation
111-
![](Visualizations/district_map.png)
107+
![](Visualizations/ethenicity.png?raw=true)
112108

113109
some of the visualizations are for comparing the data from all the year like Distribution of surveyors based on their developer role and Programming language desired to work
114110

115111
#### Distribution of surveyors based on their developer rol
116-
![](Visualizations/time_analysis.png)
112+
![](Visualizations/Screenshot.png?raw=true)
117113

118114
#### Programming language desired to work
119-
![](Visualizations/police_perf.png)
115+
![](Visualizations/languages-desired.png?raw=true)

0 commit comments

Comments
 (0)