# Changing the orientation of text labels of Chord diagram in Holoviews

**URL:** <https://discourse.holoviz.org/t/changing-the-orientation-of-text-labels-of-chord-diagram-in-holoviews/6226>\
**Category:** HoloViews\
**Created:** [October 18, 2023, 4:10pm UTC](https://discourse.holoviz.org/t/changing-the-orientation-of-text-labels-of-chord-diagram-in-holoviews/6226 "2023-10-18T16:10:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlonzoUtah](https://discourse.holoviz.org/letter_avatar_proxy/v4/letter/a/41988e/32.png) [@AlonzoUtah](https://discourse.holoviz.org/u/AlonzoUtah)\
**Post date:** [October 18, 2023, 4:10pm UTC](https://discourse.holoviz.org/t/changing-the-orientation-of-text-labels-of-chord-diagram-in-holoviews/6226/1 "2023-10-18T16:10:51Z")

</div>

Is there a way in Holoviews to change the orientation of the label text of a chord diagram in order to avoid rotations that flip the label text upside down in the left semicircle (see picture)?

 ![bokeh_plot](https://discourse.holoviz.org/uploads/default/original/2X/1/134b7eada70a1c6ac379bdb15cce3d4053bfd4d9.png)  
This is my script so far:  
import pandas as pd  
import holoviews as hv  
from holoviews import opts, dim

hv.extension(‘matplotlib’)  
hv.output(fig=‘svg’, size=500)

connections = pd.read\_csv(folder)

nodes = pd.read\_csv(folder)

chord\_plot = hv.Chord(connections)

nodes\_dataset = hv.Dataset(nodes, ‘index’)

chord\_with\_labels = hv.Chord((connections, nodes\_dataset)).opts(opts.Chord(labels=‘name’))

styled\_chord = hv.Chord((connections, nodes\_dataset)).opts(opts.Chord(cmap=‘Category20’, edge\_color=dim(‘source’).astype(str), labels=‘name’, node\_color=dim(‘index’).astype(str)))

(chord\_plot + chord\_with\_labels + styled\_chord).cols(3)

hv.save((chord\_plot + chord\_with\_labels + styled\_chord), folder\chord\_diagram.html’)

---

<div class="post-metadata">

**Author:** ![Lizsde](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/lizsde/32/7255_2.png) [@Lizsde](https://discourse.holoviz.org/u/Lizsde)\
**Post date:** [June 4, 2025, 3:24pm UTC](https://discourse.holoviz.org/t/changing-the-orientation-of-text-labels-of-chord-diagram-in-holoviews/6226/2 "2025-06-04T15:24:10Z")

</div>

I have the same issue.

---

<div class="post-metadata">

**Author:** ![ahuang11](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ahuang11/32/4947_2.png) [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Post date:** [June 4, 2025, 6:24pm UTC](https://discourse.holoviz.org/t/changing-the-orientation-of-text-labels-of-chord-diagram-in-holoviews/6226/3 "2025-06-04T18:24:49Z")

</div>

Perhaps [Support inverted label text option for Chord plot · Issue #4553 · holoviz/holoviews · GitHub](https://github.com/holoviz/holoviews/issues/4553)
