Canstralian commited on
Commit
db2f810
·
verified ·
1 Parent(s): 3c2db82

Add introductory section and graphical navigation to CyberOps Dashboard

Browse files

Enhanced the CyberOps Dashboard with the following updates:
- Added an introductory section on the main frame to describe the purpose of the application.
- Introduced a graphical navigation system using Streamlit buttons within columns for better user experience.
- Data Upload: Allows users to upload CSV files.
- Data Visualization: Enables users to select columns for plotting.
- Analysis Tools: Provides options for combinatorial analysis.
- Maintained core functionality including file upload, data visualization, combinatorial analysis, and grouping/aggregation.
- Ensured compatibility with larger datasets using Dask for efficient data processing.
- Updated the sidebar to support new navigation features and options.

Files changed (1) hide show
  1. app.py +26 -0
app.py CHANGED
@@ -27,6 +27,32 @@ def main():
27
  # Option to select a CSV file
28
  uploaded_file = st.sidebar.file_uploader("Select a CSV file:", type=["csv"])
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  if uploaded_file:
31
  @st.cache_data
32
  def load_csv(file):
 
27
  # Option to select a CSV file
28
  uploaded_file = st.sidebar.file_uploader("Select a CSV file:", type=["csv"])
29
 
30
+ # Main frame for introduction and navigation
31
+ with st.container():
32
+ st.subheader("Welcome to CyberOps Dashboard")
33
+ st.write("""
34
+ The CyberOps Dashboard is designed to assist cybersecurity professionals in analyzing and visualizing data efficiently.
35
+ With this tool, you can upload CSV files, visualize data trends, and perform advanced data analysis.
36
+ """)
37
+
38
+ # Navigation section
39
+ st.subheader("Navigation")
40
+ st.write("Use the buttons below to navigate to different sections:")
41
+ col1, col2, col3 = st.columns(3)
42
+
43
+ with col1:
44
+ if st.button("Data Upload"):
45
+ st.sidebar.file_uploader("Select a CSV file:", type=["csv"])
46
+
47
+ with col2:
48
+ if st.button("Data Visualization"):
49
+ st.sidebar.selectbox('Select X-axis:', [])
50
+ st.sidebar.selectbox('Select Y-axis:', [])
51
+
52
+ with col3:
53
+ if st.button("Analysis Tools"):
54
+ st.sidebar.multiselect('Select columns for combinations:', [])
55
+
56
  if uploaded_file:
57
  @st.cache_data
58
  def load_csv(file):