This post directly follows the previous
basic chord diagram. It describes how
to add axis and labels around the outer circle. See the
chord section for more examples. This
example works with d3.js v4
and v6
groupTicks()
function that is defined at the
end of the script. This function returns info allowing to
place ticks thanks to a translation.
d.angle * 180 / Math.PI - 90
to go from
radian to degree