This is more the direction in which I'd like to go: expose just enough to make it possible to reuse the projection in another chart (we're not there yet), and to support advanced brushing (https://github.com/uwdata/mosaic/pull/336).
(Not solved yet!)
We need:
[ ] more concrete use cases (of reuse)
[ ] tests
[ ] enough information to recreate the same projection
[ ] invert: currently lost in translation (^^), but we could do it by being more careful when we compose with the scale+translate transform. (The clip transform is traditionally ignored/considered as a pass-thru when inverting.)
This is more the direction in which I'd like to go: expose just enough to make it possible to reuse the projection in another chart (we're not there yet), and to support advanced brushing (https://github.com/uwdata/mosaic/pull/336).
(Not solved yet!)
We need:
This somewhat supersedes @jheer's suggestion in https://github.com/observablehq/plot/issues/1191#issuecomment-2011275448
closes #1191