Skip to content

Commit

Permalink
doc(examples): add problematic example
Browse files Browse the repository at this point in the history
  • Loading branch information
kanitw committed Aug 27, 2024
1 parent 80ddac4 commit a56e9be
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/specs/tick_timeunit.vl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "Google's stock price over time.",
"data": {"url": "data/stocks.csv"},
"transform": [{"filter": "datum.symbol==='GOOG'"}],
"mark": "tick",
"encoding": {
"x": {"timeUnit": "year", "field": "date", "type": "temporal"},
"y": {"aggregate": "sum", "field": "price", "type": "quantitative"}
}
}

0 comments on commit a56e9be

Please sign in to comment.