Spaces:
Build error
Build error
qua605
commited on
Commit
·
5de3bf6
1
Parent(s):
c6267f5
Second Viz
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ viz2 = (
|
|
| 30 |
.encode(
|
| 31 |
x=alt.X("YearMonth:T", title = "Issue Date(Month)"),
|
| 32 |
y = alt.Y("count():Q", title="Number of License"),
|
| 33 |
-
color = alt.Color("License Type:N",
|
| 34 |
)
|
| 35 |
.properties(width = 900, height=500)
|
| 36 |
)
|
|
|
|
| 30 |
.encode(
|
| 31 |
x=alt.X("YearMonth:T", title = "Issue Date(Month)"),
|
| 32 |
y = alt.Y("count():Q", title="Number of License"),
|
| 33 |
+
color = alt.Color("License Type:N", alt.Legend(title="License Type"))
|
| 34 |
)
|
| 35 |
.properties(width = 900, height=500)
|
| 36 |
)
|