Open
Description
openedon May 14, 2020
This matters as Layer cannot be used with row or column, so must use facet:
# This works
dataset("cars.json") |> @vlplot(
facet={row={field="Origin", type="nominal"}},
spec={
:bar,
x={"Horsepower:q", bin={maxbins=15}},
y="count()"
}
)
# this doesn't
dataset("cars.json") |> @vlplot(
facet={row="Origin:n"},
spec={
:bar,
x={"Horsepower:q", bin={maxbins=15}},
y="count()"
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment