Manasa1 commited on
Commit
452da62
·
verified ·
1 Parent(s): 090fb84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(label="ESG Scores Scatter Plot", x="ESG Category", y="Score", overlay_point=True)
62
  # BarPlot component for displaying the ESG data
63
- bar_plot = gr.BarPlot(label="ESG Scores Bar Plot", x="ESG Category", y="Score")
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")