You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can Plot expose some kind of update() function so we could somehow either reuse elements or only re-render certain marks (like a rule + text that gets moved around based on input)
The text was updated successfully, but these errors were encountered:
I feel there are two very different ways to update a mark:
one is to just update the relevant mark with a data join + transitions, keeping the scales fixed to whatever setting they had from the initial data. This can be done in a plugin: https://observablehq.com/d/dd83bd6ccd0dec4f (contrived example)
the other is to "redo" everything that needs to be changed (including scales and their potential impact on other marks), optimizing for transitions.
Can Plot expose some kind of
update()
function so we could somehow either reuse elements or only re-render certain marks (like a rule + text that gets moved around based on input)The text was updated successfully, but these errors were encountered: