Chitranshu commited on
Commit
17528d2
·
1 Parent(s): 8ad2a95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -71,8 +71,8 @@ brand_1 = project_data["Brand"].value_counts().nlargest(15).sort_values(ascendin
71
  # Define the hvplot charts
72
  category_chart1 = category_1.hvplot.bar(rot=90, title='Category Distribution', color=['#206b33'], width=800, height=400)
73
  brand_chart1 = brand_1.hvplot.bar(rot=90, title='Brand Count Distribution (Top 15)', color=['#206b33'], width=800, height=400)
74
- price_chart = df.hvplot.kde(y='Price', color='#006400', width=800, height=400)
75
- discounted_price_chart = df.hvplot.kde(y='DiscountedPrice', color='#006400', width=800, height=400)
76
  brand_price = dict(sorted(brand_price.items(), key=lambda item: item[1], reverse=True))
77
  category_price = dict(sorted(category_price.items(), key=lambda item: item[1], reverse=True))
78
 
 
71
  # Define the hvplot charts
72
  category_chart1 = category_1.hvplot.bar(rot=90, title='Category Distribution', color=['#206b33'], width=800, height=400)
73
  brand_chart1 = brand_1.hvplot.bar(rot=90, title='Brand Count Distribution (Top 15)', color=['#206b33'], width=800, height=400)
74
+ price_chart = df.hvplot(y='Price', color='#006400', width=800, height=400)
75
+ discounted_price_chart = df.hvplot(y='DiscountedPrice', color='#006400', width=800, height=400)
76
  brand_price = dict(sorted(brand_price.items(), key=lambda item: item[1], reverse=True))
77
  category_price = dict(sorted(category_price.items(), key=lambda item: item[1], reverse=True))
78