Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,9 @@ if website_name:
|
|
57 |
st.subheader("Review Count and Distribution")
|
58 |
st.write(f"Total Reviews Count: {google_maps_data['reviewsCount']}")
|
59 |
review_distribution = google_maps_data['reviewsDistribution']
|
60 |
-
|
|
|
|
|
61 |
|
62 |
# Reviews Table
|
63 |
st.subheader("Customer Reviews")
|
|
|
57 |
st.subheader("Review Count and Distribution")
|
58 |
st.write(f"Total Reviews Count: {google_maps_data['reviewsCount']}")
|
59 |
review_distribution = google_maps_data['reviewsDistribution']
|
60 |
+
days_order = ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su']
|
61 |
+
ordered_distribution = {day: review_distribution.get(day, 0) for day in days_order}
|
62 |
+
st.bar_chart(pd.Series(ordered_distribution), use_container_width=True)
|
63 |
|
64 |
# Reviews Table
|
65 |
st.subheader("Customer Reviews")
|