Spaces:
Sleeping
Sleeping
qua605
commited on
Commit
·
9171af3
1
Parent(s):
70f4d70
First Write Up
Browse files
app.py
CHANGED
@@ -31,7 +31,6 @@ st.text(
|
|
31 |
|
32 |
st.header("Visualization 2: Issued Time")
|
33 |
data["Original Issue Date"] = pd.to_datetime(data["Original Issue Date"], errors="coerce")
|
34 |
-
# data["YearMonth"] = data["Original Issue Date"].dt.to_period("YM")
|
35 |
|
36 |
viz2 = (
|
37 |
alt.Chart(data)
|
@@ -44,3 +43,13 @@ viz2 = (
|
|
44 |
.properties(width = 900, height=500)
|
45 |
)
|
46 |
st.altair_chart(viz2, use_container_width=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
st.header("Visualization 2: Issued Time")
|
33 |
data["Original Issue Date"] = pd.to_datetime(data["Original Issue Date"], errors="coerce")
|
|
|
34 |
|
35 |
viz2 = (
|
36 |
alt.Chart(data)
|
|
|
43 |
.properties(width = 900, height=500)
|
44 |
)
|
45 |
st.altair_chart(viz2, use_container_width=False)
|
46 |
+
st.subheader("Vizualization 2 Write Up")
|
47 |
+
st.text(
|
48 |
+
"""
|
49 |
+
The line chart shows the number of license issued over the time. The color looks messy
|
50 |
+
but I think a way to seperate different license type is essential. I also did the same
|
51 |
+
for the use_container_width because I think a bigger graph could show the distribution better.
|
52 |
+
I used a line graph this time to show the trend of month. It is cool to see that there is a
|
53 |
+
straight line on Jan 1998.
|
54 |
+
"""
|
55 |
+
)
|