Hi, I would like some help getting our Clustergrammer-GL library to work reactively on Observable. This example https://observablehq.com/@cornhundred/trying-to-make-clustergrammer-gl-reactive shows a pre-calculated hierarchically clustered dataset (JSON loaded as file attachment) being visualized using our library (big thanks to @john-guerra for help us get our library working on Observable). Clustergrammer-GL updates variables (e.g.
cgm.param.int.mouseover.row.name) based on user interaction. However, these variable updates appear to be incompatible with Observable’s reactive updates (at least in the way I’m trying to implement them). I would like help understanding if/how I could have Observable reactively update variables based on user interaction with the Clustergrammer-GL visualization. Based on my reading, I think the solution might involve using views and setting up an input event.
We are currently able to get this type of behavior in Jupyter notebooks using: Clustergrammer2 widget library (which Clustergrammer-GL is a dependency), the widget bqplot, the dashboard library voila, and the hosting service MyBinder. See example: https://github.com/cornhundred/citibike-clustergrammer2.
Any help or advice would be greatly appreciated and we would love to get this CitiBike example on Observable as well !