Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Should scaled constants be embedded in the data #29
Because we can't currently add constants to a scale: https://github.com/trifacta/vega/issues/103
Then it would work the same way as reactive constants.
Scaled constants are useful for cases like this:
ggvis(mtcars, props(x ~ wt, y ~ mpg), mark_symbol(), branch_smooth(props(stroke = "lm"), method = lm), branch_smooth(props(stroke = "loess")) )