Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,11 +25,12 @@ st.plotly_chart(px.bar(df, x="Name", y=["Solar_Generation__c", "Wind_Generation_
|
|
25 |
# 4. Charts (Energy + Alert Breakdown)
|
26 |
display_charts(df)
|
27 |
|
28 |
-
import plotly.express as
|
29 |
|
30 |
st.subheader("📈 Tilt vs Vibration")
|
31 |
|
32 |
fig_tv = px.scatter(
|
|
|
33 |
x="Tilt_Angle__c", # make sure this is your column name
|
34 |
y="Vibration_Level__c", # make sure this is your column name
|
35 |
color="Alert_Level__c",
|
|
|
25 |
# 4. Charts (Energy + Alert Breakdown)
|
26 |
display_charts(df)
|
27 |
|
28 |
+
import plotly.express as df
|
29 |
|
30 |
st.subheader("📈 Tilt vs Vibration")
|
31 |
|
32 |
fig_tv = px.scatter(
|
33 |
+
filtered_df,
|
34 |
x="Tilt_Angle__c", # make sure this is your column name
|
35 |
y="Vibration_Level__c", # make sure this is your column name
|
36 |
color="Alert_Level__c",
|