Skip to content

Instantly share code, notes, and snippets.

@maartenzam
maartenzam / labelopacity-expression-bug.json
Created November 17, 2021 10:51
labelOpacity expression bug
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "A dual axis chart, created by setting y's scale resolution to `\"independent\"`",
"width": 400, "height": 300,
"data": {
"url": "data/weather.csv"
},
"params": [{"name": "toggleHighlight", "bind": {"input": "checkbox"}}],
"transform": [{"filter": "datum.location == \"Seattle\""}],
"encoding": {