Skip to content

Commit

Permalink
style: format example on the home page
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Oct 2, 2023
1 parent 07b18fe commit ca533f1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions examples/specs/bar_month.vl.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@
"data": {"url": "data/seattle-weather.csv"},
"mark": "bar",
"encoding": {
"x": {"timeUnit": "month", "field": "date", "type": "ordinal"},
"y": {"aggregate": "mean", "field": "precipitation"}
"x": {
"timeUnit": "month",
"field": "date",
"type": "ordinal"
},
"y": {
"aggregate": "mean",
"field": "precipitation"
}
}
}

0 comments on commit ca533f1

Please sign in to comment.