pygwalker
pygwalker copied to clipboard
[Feat] Add support for Plotly Dash
Hi maintainers,
Hope this message finds you in good health. I wanted to reach out to ask if it's possible to add support for Plotly Dash. It's useful for creating interactive web-based dashboards but can benefit from all the data exploration part.
Thanks
Hi all, customers using plotly apps would love this enhancement and data science teams as well. Thanks for your great library, Ilona
+1
+1
Same here, it'd be super useful
And allow to export plotly code... That will be awesome! 👌
Thoughts update:
I do believe that allowing graphic-walker/pygwalker to support multiple charts lib is a great idea. Technically, we need to implement a parser layer to transform graphic-walker DSL into other chart code/specification. It's a cool engineering abstract. I will be happy to implement it.
But, I am still not sure why people need a different chart library for visual exploration. I don't find there is much benefit of ploty than vega/vega-lite. Hope someone can share your demands or insights here.
@ObservedObserver To my opinion, with Plotly Dash you can do much more than visual exploration. It is fast and easy to build a whole Web-application with a lot of different features.
@ObservedObserver , thanks for checking this out. As @IloBe mentioned, the use case is the same as Streamlit. The purpose is not to use Plotly for the charts but more to embed Pygwalker in a Dash (plotly) app (see examples here).
Update
Hi, everyone. Now you can use pygwalker as a component in Plotly Dash, check this document: Use PyGWalker with Plotly Dash
For hosting pygwalker as a web app (or dashboard), you can also use:
- Streamlit: https://docs.kanaries.net/pygwalker/use-pygwalker-with-streamlit
- Gradio: How to Use PyGWalker with Gradio
- shiny-python: How to Integrate PyGWalker with Shiny-Python
Or even flask or django if you are familiar with web development.