Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -408,6 +408,7 @@ def main():
|
|
408 |
* **Dynamic Title**: The chart updates its title to reflect the selected weather condition or "All Conditions" for the overall trend.
|
409 |
|
410 |
**Insights:**
|
|
|
411 |
This chart helps uncover:
|
412 |
* Annual fluctuations in crash incidents.
|
413 |
* Correlations between weather conditions and crash frequencies.
|
@@ -500,7 +501,7 @@ def main():
|
|
500 |
## Distribution of Incidents by {selected_category}
|
501 |
This visualization explores the distribution of traffic incidents across various categories, such as Collision Manner, Weather, Surface Condition, Alcohol Use, and Driver Gender. Each bar represents a specific category value (e.g., "Male" or "Female" for Gender), and the bars are divided into segments based on Injury Severity (e.g., Minor, Moderate, Serious, Fatal).
|
502 |
|
503 |
-
**Key
|
504 |
* Interactive Filters: Select a category and filter by year to analyze trends over time.
|
505 |
* Insightful Tooltips: Hover over each segment to view the exact count and percentage of incidents for a given severity level.
|
506 |
* Comparative Analysis: Quickly identify how different conditions or behaviors correlate with injury severity.
|
|
|
408 |
* **Dynamic Title**: The chart updates its title to reflect the selected weather condition or "All Conditions" for the overall trend.
|
409 |
|
410 |
**Insights:**
|
411 |
+
|
412 |
This chart helps uncover:
|
413 |
* Annual fluctuations in crash incidents.
|
414 |
* Correlations between weather conditions and crash frequencies.
|
|
|
501 |
## Distribution of Incidents by {selected_category}
|
502 |
This visualization explores the distribution of traffic incidents across various categories, such as Collision Manner, Weather, Surface Condition, Alcohol Use, and Driver Gender. Each bar represents a specific category value (e.g., "Male" or "Female" for Gender), and the bars are divided into segments based on Injury Severity (e.g., Minor, Moderate, Serious, Fatal).
|
503 |
|
504 |
+
**Key Features:**
|
505 |
* Interactive Filters: Select a category and filter by year to analyze trends over time.
|
506 |
* Insightful Tooltips: Hover over each segment to view the exact count and percentage of incidents for a given severity level.
|
507 |
* Comparative Analysis: Quickly identify how different conditions or behaviors correlate with injury severity.
|