Black Lives Matter. Please consider donating to Black Girls Code today.

How to display Text in parallel coordinates instead of number

I would like to display string instead of number for example [‘f’,‘m’,‘s’] on an axis, not numbers.

at the moment it only works if I supply numbers and create ticktext

Using

should do the trick.

See https://rreusser.github.io/plotly-mock-viewer/#gl2d_parcoords for an example (open of the console to see the graphs’ data/layout)