Update app.py
Browse files
app.py
CHANGED
|
@@ -1,30 +1,16 @@
|
|
| 1 |
import streamlit as st
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
#
|
| 4 |
-
|
|
|
|
|
|
|
| 5 |
|
| 6 |
-
#
|
| 7 |
-
|
| 8 |
-
|
|
|
|
| 9 |
|
| 10 |
-
#
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
# Add the radar chart image
|
| 14 |
-
st.image("path/to/radar_chart.png", caption="Maturity Across Pillars")
|
| 15 |
-
|
| 16 |
-
# Add the stages explanation
|
| 17 |
-
st.subheader("Stages Explanation")
|
| 18 |
-
st.markdown("""
|
| 19 |
-
- **Ideating**: Researching generative AI's capabilities and considering how it might benefit the organization.
|
| 20 |
-
- **Experimenting**: Pilot projects or proofs-of-concept to validate the technology's feasibility are conducted.
|
| 21 |
-
- **Optimizing**: A strategic plan is developed and generative AI solutions are in the process of integrating.
|
| 22 |
-
- **Transforming**: Solutions are integrated into most of initiatives and currently refining to transform the organization.
|
| 23 |
-
- **Leading**: Fully integrated and scaled solutions across the organization with processes and capabilities to sustain and evolve.
|
| 24 |
-
""")
|
| 25 |
-
|
| 26 |
-
# Add the sidebar navigation
|
| 27 |
-
st.sidebar.header("Navigation")
|
| 28 |
-
pages = ["Home", "Disclaimer", "Executive Summary", "Contents", "Overview", "Strategy & Innovation", "Customer Experience", "Organization & People", "Operations", "Risk & Cybersecurity", "Finance, Tax & Legal", "Data & Technology", "Context", "About EY"]
|
| 29 |
-
selected_page = st.sidebar.selectbox("Select a page", pages)
|
| 30 |
-
st.sidebar.write(f"You selected: {selected_page}")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
import pandas as pd
|
| 3 |
+
import plotly.graph_objects as go
|
| 4 |
|
| 5 |
+
# Sample data for the radar chart
|
| 6 |
+
categories = ['Strategy & Innovation', 'Customer Experience', 'Organization & People',
|
| 7 |
+
'Operations', 'Risk & Cybersecurity', 'Finance, Tax & Legal', 'Data & Technology']
|
| 8 |
+
values = [0.8, 0.6, 0.7, 0.5, 0.4, 0.3, 0.9]
|
| 9 |
|
| 10 |
+
# Create a DataFrame for the radar chart
|
| 11 |
+
df = pd.DataFrame(dict(
|
| 12 |
+
r=values,
|
| 13 |
+
theta=categories))
|
| 14 |
|
| 15 |
+
# Create the radar chart
|
| 16 |
+
fig = go
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|