Open
Description
Vega-lite partial spec (full VL spec)
"encoding": {
"x": {
"bin": {"maxbins": 30},
"field": "IMDB_Rating",
"type": "quantitative"
},
"y": {
"field": "IMDB_Votes",
"type": "quantitative",
"aggregate": "sum",
"impute": {"value": 0}
},
"color": {"field": "Major_Genre", "type": "nominal"}
Expected (proposed Vega spec):
problem with generated spec
"defined": {
"signal": "datum[\"bin_maxbins_30_IMDB_Rating\"] !== null &&
!isNaN(datum[\"bin_maxbins_30_IMDB_Rating\"]) &&
datum[\"sum_IMDB_Votes\"] !== null &&
!isNaN(datum[\"sum_IMDB_Votes\"])"
}
bin_maxbins_30_IMDB_Rating
is undefined after impute, impute key is bin_maxbins_30_IMDB_Rating_mid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment