Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,22 +80,34 @@ With more development time, analyzing seasonal or monthly trends within each yea
|
|
| 80 |
|
| 81 |
# Write-up explaining the thought process for both visualisations
|
| 82 |
st.write("""
|
| 83 |
-
**
|
|
|
|
|
|
|
| 84 |
|
| 85 |
Purpose: This bar chart compares the frequency of different license statuses, giving insight into how licenses are categorized. For example, it might show the relative proportion of active versus inactive licenses.
|
|
|
|
| 86 |
Design Choices:
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
Future Enhancements: Interactivity, such as the ability to filter by additional fields like specialty or location, could enhance insights further.
|
| 91 |
|
| 92 |
|
| 93 |
-
**Licenses Over Time:**
|
| 94 |
|
| 95 |
Purpose: This line chart provides a time-based view, revealing trends in license issuance across years. It is especially useful for identifying growth or decline patterns in licensing.
|
|
|
|
| 96 |
Design Choices:
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
Future Enhancements: Examining more granular patterns, such as seasonal trends, could add another dimension, revealing factors that might influence licensing activity annually.
|
| 101 |
""")
|
|
|
|
| 80 |
|
| 81 |
# Write-up explaining the thought process for both visualisations
|
| 82 |
st.write("""
|
| 83 |
+
**Write-up explaining the thought process for both visualisations:**
|
| 84 |
+
|
| 85 |
+
** 1. Licenses by Status:**
|
| 86 |
|
| 87 |
Purpose: This bar chart compares the frequency of different license statuses, giving insight into how licenses are categorized. For example, it might show the relative proportion of active versus inactive licenses.
|
| 88 |
+
|
| 89 |
Design Choices:
|
| 90 |
+
|
| 91 |
+
Sorting bars in descending order brings the most common categories to the top, allowing for quick comparison.
|
| 92 |
+
|
| 93 |
+
Colors are used for clear category distinction, making the chart visually engaging.
|
| 94 |
+
|
| 95 |
+
A fixed maximum of 100 on the Y-axis balances the focus on both high and low-count categories, helping smaller counts stand out.
|
| 96 |
+
|
| 97 |
Future Enhancements: Interactivity, such as the ability to filter by additional fields like specialty or location, could enhance insights further.
|
| 98 |
|
| 99 |
|
| 100 |
+
** 2. Licenses Over Time:**
|
| 101 |
|
| 102 |
Purpose: This line chart provides a time-based view, revealing trends in license issuance across years. It is especially useful for identifying growth or decline patterns in licensing.
|
| 103 |
+
|
| 104 |
Design Choices:
|
| 105 |
+
|
| 106 |
+
The line chart captures year-over-year changes smoothly, helping viewers spot peaks and troughs.
|
| 107 |
+
|
| 108 |
+
Using a single color (blue) maintains simplicity and avoids distractions from the primary focus on the trend.
|
| 109 |
+
|
| 110 |
+
Setting the Y-axis to 100 highlights variations even when counts are low, helping identify periods of slow growth or decline.
|
| 111 |
+
|
| 112 |
Future Enhancements: Examining more granular patterns, such as seasonal trends, could add another dimension, revealing factors that might influence licensing activity annually.
|
| 113 |
""")
|