jfiel5 commited on
Commit
1aa39f8
·
verified ·
1 Parent(s): 13cb305

coloring strip by department (#36)

Browse files

- coloring strip by department (b65dc6617a9075ff1d7e5747df15372b3ebe723b)

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ strip = (
165
  .encode(
166
  x=alt.X("YTD Gross:Q", title="YTD Gross"),
167
  y=alt.Y("Agency:N", title=""),
168
- color=alt.value("#4C78A8"),
169
  tooltip=[
170
  alt.Tooltip("Position Title:O"),
171
  alt.Tooltip("YTD Gross:Q", format="$,.0f")
 
165
  .encode(
166
  x=alt.X("YTD Gross:Q", title="YTD Gross"),
167
  y=alt.Y("Agency:N", title=""),
168
+ color=alt.Color("Agency Division:N",title='Department'),
169
  tooltip=[
170
  alt.Tooltip("Position Title:O"),
171
  alt.Tooltip("YTD Gross:Q", format="$,.0f")