Creating an Interactive plot with plotly

When I started my job search I decided to keep track of my progress and create a visualisation out of it. Because people love dashboards these days. I created the Sankey plot Using plotly with the code below.

                
                    fig = go.Figure(data=[go.Sankey(
                        arrangement='snap',
                        node = dict(
                          pad = 15,
                          thickness = 20,
                          line = dict(color = "black", width = 0.5),
                          label = ["Applied","No Response","Rejected","Interview","Rejected after Interview"
                                   ,"Offer","Accepted","Turned Down"],
                          color = ["blue", "Black", "Red", "Orange", "Green", "Gold","Green"],
                          x = [0,0.5,0.5,0.5,0.75],
                          y =[0,0.5,0.4,0.5,1]
                        ),
                        link = dict(
                          source = [0,0,0,3,5], # indices correspond to labels, eg Applied, Applied, Interview, Offer, ...
                          target = [1,2,3,5,6], # indices correspond to labels
                          value = [5,1,1,1,1]
                      ))])
                    
                    fig.update_layout(title_text="Job Hunt", font_size=10)
                    import plotly
                    plotly.offline.plot(fig, include_plotlyjs=False, output_type='div')
                
                

I took the output of the above python code and then placed it within this webage. and included this script.

<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>

Find me on ...