You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: streamlit/Readme.md
+15-19Lines changed: 15 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,14 @@ The web app is still under construction. The authors are in the process of updat
13
13
14
14
#### Steps To Run Streamlit Locally:
15
15
- cloning
16
-
- firstly, fork the repository and then clone to your local files via vs code.
17
-

18
-
- then ,
19
-

16
+
- firstly, fork the repository and then clone to your local files via vs code (for cloning press ctrl +shift+ p).
17
+
-
18
+
-
20
19
21
20
- terminal
22
-
21
+
- locate the streamlit folder.
22
+
- run the python -m streamlit run home.py in your cmd terminal.
23
+
-
23
24
# Solutions Provided
24
25
25
26
- 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
71
72
## Folders and Files##
72
73
73
74
*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.
75
76
76
77
77
78
*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.
79
80
- Most of the functions are using Plotly library for the clear and better visuals.
80
81
- These functions are flexible to be used with dataset of any year, given that the pre-processing stage is compatible with the existing dataframes.
81
82
- 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.
82
83
83
84
*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.
85
86
- The main visualisations from our web app providing the png files for bar graphs, line plots and maps.
86
87
- Districtwise plotting of crime along with the heat maps is present.
87
88
- Vulnerable crime areas are included using records of victim analysis. Folium is being used to display the auto-generated html files.
88
89
89
90
*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.
91
92
- set the structure of our main interface.
92
93
- we made a slidebar that gives an option to select from the year 2018,2019 and 2020.
93
94
- 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
98
99
First of all, it shows the data preview for the specific year, then all the data visualizations are shown related to that year.
99
100
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
100
101
101
-
#### Top Gender Distribution
102
-

103
-
104
102
#### Distribution of annual salary for top countries
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
114
110
115
111
#### Distribution of surveyors based on their developer rol
0 commit comments