How to view Holoview interactive chord diagram?

I was trying to create a chord diagram using bokeh, the issue is that bokeh creates chord diagrams where the labels rotate with the diagram resulting them being overturned. I managed to solve this by using a function that adjusts the label orientation. The function works only by using mathplotlib but not with bokeh. I want the diagram to be interactive but I want to be able to view it in other way than Jupyter, is there a function that I can use see it in an interactive mode or alternatively is there a way to rewrite the code in a way that it will use bokeh instead of mathplotlib but still keep the labels from being overturned?

 import pandas as pd
import holoviews as hv
from holoviews import opts, dim

hv.extension('matplotlib')

links_file = 'links_4.csv'
nodes_file = 'nodes_5.csv'
links_data = pd.read_csv(links_file)
nodes_data = pd.read_csv(nodes_file)

def adjust_labels(plot, element):
    labels = plot.handles["labels"]
    for label in labels:
        angle = label.get_rotation()
        if 90 < angle < 270:
            label.set_rotation(180 + angle)
            label.set_horizontalalignment("right")

links = links_data[['source', 'target', 'value']]
nodes = hv.Dataset(nodes_data[['index', 'name']], 'index')

chord = hv.Chord((links, nodes)).select(value=(1, None))
chord.opts(
    opts.Chord(cmap='Category20', edge_cmap='Category20', edge_color=dim('source').str(), sublabel_size=15,
               labels='name', node_color=dim('index').str(), hooks=[adjust_labels])
)

hv.output(size=1000)


hv.save(chord, 'chord_diagram.html')

I imagine you can also get the handles through bokeh.

For reference on bokeh property names, here’s what the internals do: