News for hackers. Stuff that matters.
Re:A Tiny Grammar of Graphics by infinite8s on Wednesday June 15, 2022 @04:05PM (#31758719)
>But that would require some kind of open standard for portability, no?

I like the approach AGGrid uses - they provide a viewport based interface that the grid uses to display data, and you can implement that interface on top of your data model - https://www.ag-grid.com/javascript-data-grid/viewport/. Unfortunately it's only available in their enterprise version, but this approach scales to both grid and chart based UIs. D3 has a bit of that flavor as well, since you can map visual attributes into your underlying data any way you'd like.

Re:A Tiny Grammar of Graphics by lo5 on Thursday June 16, 2022 @12:11PM (#31767721)
I was assuming you were referring to a declarative approach in your previous message.

The Ag Grid approach makes sense if data and vis need to be wired together programmatically.