Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -58,9 +58,9 @@ def app_interface():
|
|
58 |
# LinePlot component for displaying the ESG data
|
59 |
line_plot = gr.LinePlot(label="ESG Scores Line Plot", x="ESG Category", y="Score", overlay_point=True)
|
60 |
# ScatterPlot component for displaying the ESG data
|
61 |
-
scatter_plot = gr.ScatterPlot(
|
62 |
# BarPlot component for displaying the ESG data
|
63 |
-
bar_plot = gr.BarPlot(
|
64 |
|
65 |
# File output for CSV download
|
66 |
csv_output = gr.File(label="Download CSV")
|
|
|
58 |
# LinePlot component for displaying the ESG data
|
59 |
line_plot = gr.LinePlot(label="ESG Scores Line Plot", x="ESG Category", y="Score", overlay_point=True)
|
60 |
# ScatterPlot component for displaying the ESG data
|
61 |
+
scatter_plot = gr.ScatterPlot(plot_df, x="ESG Category", y="Score", overlay_point=True)
|
62 |
# BarPlot component for displaying the ESG data
|
63 |
+
bar_plot = gr.BarPlot(plot_df x="ESG Category", y="Score")
|
64 |
|
65 |
# File output for CSV download
|
66 |
csv_output = gr.File(label="Download CSV")
|