Transfer Plotly Chart Studio Code to Dash

Hi , i’ve made some example on the , Chart Studio. I tried to download python code and run it when i completed the chart , i’m gettin error in my computer. By the way , i tried api i know how to run it that . I just want to show that grap in the dash. How can i convert plotly chart studio python code into dash python code?