✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Integrate third party plots/visualisations into Plotly Dash App

Hi, I was wondering if it might be possible to integrate D3 (data driven documents) visualisations into Plotly Dash Apps. I really like using the graphing library of Plotly itself, but there are some plot types that are not supported. So does anyone know how to integrate D3 plots into a Dash App?

Thanks for your help.

I guess you could wrap the appropriate D3 react components into Dash components. How complicated this is depends on the components you need, and how deep the integration needs to be. That is, if you just need to plot stuff, it will require less work than if you also want to be able to trigger callbacks from component state changes (e.g. a selection on the plot).

EDIT: There is also some docs here https://dash.plotly.com/d3-react-components

Thank you. The last link is very helpful.