holoviz / panel

Panel: The powerful data exploration & web app framework for Python
https://panel.holoviz.org
BSD 3-Clause "New" or "Revised" License
4.69k stars 508 forks source link

Would it make sense to contribute the interactive SVG component or example? #2725

Open MarcSkovMadsen opened 3 years ago

MarcSkovMadsen commented 3 years ago

I believe I've created a nice showcase of ReactiveHTML and a fairly general component SVGInteractive for making SVGs interactive. https://discourse.holoviz.org/t/interactive-svgs/2780

Now the question is if I could make it more useful and how?

Would you be interested in

for Panel?

Or alternatively would it make sense that I made an SVGInteractive repo and package on my own?

interactive-windturbine

Stubatiger commented 3 years ago

Great work as always , i love seeing examples, especially for ReactiveHTML which is missing documentation alot (or i havent found it yet).

Personally id guess that it fits best as a gallery notebook under the Custom components at the gallery here https://pyviz-dev.github.io/panel/gallery/index.html If that section keeps growing, highlighting it somehow would be needed as each component itself is actually a widget of its own, which panel users should know about.

Just my two cents, am going to start working on a ReactiveHTML Showcase myself :)

jbednar commented 3 years ago

Those options all sound good to me! It does seem like it would be good to package the RENDER code with SVGInteractive into a component that's easy for Panel users to instantiate.