This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": {"url": "data/cars.json"}, | |
"transform": [ | |
{"bin": {"maxbins": 50}, "field": "Horsepower", "as": "Horsepower"}, | |
{"window": [{"op": "count", "as": "index"}], "groupby": ["Horsepower"]} | |
], | |
"mark": { | |
"type": "rect", | |
"tooltip": true, | |
"strokeWidth": 0.3, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sparkline Line = | |
// Static line color - use %23 instead of # for Firefox compatibility | |
VAR LineColor = "%2301B8AA" | |
// "Date" field used in this example along the X axis | |
VAR XMinDate = MIN('Table'[Date]) | |
VAR XMaxDate = MAX('Table'[Date]) | |
// Obtain overall min and overall max measure values when evaluated for each date |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"data": { | |
"values": [ | |
{"a": "A", "b": 28}, | |
{"a": "B", "b": 55}, | |
{"a": "C", "b": 43}, | |
{"a": "D", "b": 91}, | |
{"a": "E", "b": 81}, | |
{"a": "F", "b": 53}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"data": { | |
"values": [ | |
{"category": "A", "subcategory": "A1", "sales": 100}, | |
{"category": "A", "subcategory": "A2", "sales": 200}, | |
{"category": "B", "subcategory": "B1", "sales": 150}, | |
{"category": "B", "subcategory": "B2", "sales": 50} | |
] | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"data": { | |
"values": [ | |
{"category": "A", "subcategory": "A1", "sales": 100}, | |
{"category": "A", "subcategory": "A2", "sales": 200}, | |
{"category": "B", "subcategory": "B1", "sales": 150}, | |
{"category": "B", "subcategory": "B2", "sales": 50} | |
] | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega/v5.json", | |
"description": "A basic bar chart example, with value labels shown upon pointer hover.", | |
"width": 400, | |
"height": 200, | |
"padding": 5, | |
"data": [ | |
{ | |
"name": "table", | |
"values": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega/v5.json", | |
"description": "A basic bar chart example, with value labels shown upon pointer hover.", | |
"width": 400, | |
"height": 200, | |
"padding": 5, | |
"data": [ | |
{ | |
"name": "table", | |
"values": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"width": 600, | |
"data": { | |
"values": [ | |
{ | |
"__row__": 0, | |
"calendar_month_year": "Dec-23", | |
"concentration_risk_monthly": 0.51 | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"usermeta": {"embedOptions": {"renderer": "svg"}}, | |
"data": { | |
"values": [ | |
{ | |
"label": "Huur woningen (btw onbelast)", | |
"number": 1, | |
"type": "o", | |
"amount": 77855 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega/v5.json", | |
"description": "Dataviz by David Bacci: https://www.linkedin.com/in/davbacci/", | |
"width": 1000, | |
"background": "#F6F0E6", | |
"autosize": "pad", | |
"padding": 25, | |
"title": "", | |
"data": [ | |
{ |