@jashkenas discusses using this
in this post:
I did a probably not recommended workaround here, not using this
:
https://beta.observablehq.com/@gallowayevan/beeswarm-with-dodge-and-transitions-log-scale/2
The idea was to just create an essentially static svg cell that I then manipulate from another cell called chart
. However, I suspect this is not idiomatic because svg
does not have an explicit dependency on chart
.
Generally, I’d be curious to hear more ideas for using D3 animations/transitions in Observable.