cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Dash in Databricks notebook directly

Brad
New Contributor III

Hi team,

Is there a way to embed plotly dash directly inside Databricks notebook?

Thanks

5 REPLIES 5

dave-at-plotly
New Contributor III

Hey Brad. 

There is actually ... via a licensed library called databricks-dash which works similar to how jupyter-dash (and now dash itself) works in a jupyter notebook. The library is distributed as part of Plotly's Dash Enterprise. It's a bit of an anti-pattern, but some of our enterprise customers do take advantage of it. 

Most Dash app integrations w Databricks today leverage the Databricks Python SQL Connector.  More technical details are available via: https://dash.plotly.com/dash-with-databricks-sql and wide range of use cases and other information available via https://plotly.com/dash/databricks-integration/

Here's a(n admittedly dated) video with details of the databricks-dask workflow:
https://www.youtube.com/watch?v=7xjNAbh9AaY

I'd be keen to learn more about your specific use case. 

Dave (dave@plot.ly)

Brad
New Contributor III

Thanks Dave.

Is it possible to embed Dash to Databricks notebook cell result directly? Visualization in Databricks notebook can be published to dashboards. We expect to use Dash inside the Databricks notebook and publish it so inside dashboard people can use dash result. I saw ipywidgets+plotly, but ipywidgets cannot be published. 

calfromplotly
New Contributor II

Hi @Brad - 

Unfortunately, it's not possible today to embed Dash in a Databricks notebook cell without our Enterprise-level databricks-dash library. Longer term, we are working towards Dash natively working within Databricks notebooks, but that timeline is TBD.

Dave (previously in this thread) and I work with many Databricks customers who are looking into problems like this -- would you be open to a 30 minute chat so we can help talk you through some alternatives.

Brad
New Contributor III

Thanks. I work in PST time. Can you please share some time slots? Looking forward to talking with you soon...

dave-at-plotly
New Contributor III

Brad -> I do as well ... email me at dave@plot.ly and I can send you my calendar.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.