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
- this initial version works on rects
- default picker is d => d (each rect will send its value to the viewof), one can set picker: d => d.x
- picker: null will not set onclick
- bin transforms set picker = group => groupData (aka "the right thing")
- not fully tested with faceting, though it seems to work
- added a general mechanism to send the value as an Input event (not sure it's the right thing to do though), better than the async method of #71
- q: should we always send the initial value, and if so what data? a solution to this problem would be to opt in with a global {picker: data} and the picking would only apply to marks that have the same data.
test https://observablehq.com/d/f4e32e31ec214e38
0 commit comments