Panel-graphic-walker

Check out the new extension.

panel-graphic-walker-app-demo.

panel-extensions/panel-graphic-walker: A project providing a Graphic Walker Pane for use with HoloViz Panel.

#PygWalker, GraphicWalker

2 Likes

Very cool! Just last week I was trying to wrap graphic-walker in a ReactComponent and had to give up due to some inscrutable JavaScript errors. I’m definitely going to take a look at what you’ve done here.

The main tip that probably needs to be emphasized more in the docs is that you should absolutely define an _importmap rather than importing directly from the URL. Otherwise for React you may also have to ensure that you are not getting clashing versions of React and its dependencies and make use of some of the esm.sh specifiers like ?deps and ?external to ensure a shared version of React is used.

Thanks for the tip. I actually did do that, but the error I got was something about how the P.current ref was undefined. I’m not super familiar with React but looking over @Marc 's code I can see that the defines these extra refs and then passes them into the object as props, so I guess that’s what I needed to do.

1 Like

It will only improve now. There are lots of PRs ready or in progress to do so.

Looks cool! Out of curiosity, could you elaborate what it’s strengths/weaknesses are compared to the Perspective/Tabulator/HoloViews panes?

Pros

  • Much better user experience than Perspective (or hvPlot Explorer)
  • Can scale to larger datasets than Tabulator or Perspective because it can offload to Polars, Duckdb or postgres backend.
  • Profiler table is not something the others can provide
  • You can design an entire dashboard with sliders etc. with it.
  • 4 different components for the price of 1

Cons

  • Not meant for streaming like Perspective.
  • Cannot format and style table like Tabulator.
1 Like