hvPlot 0.10 has just been released! Checkout the blog post and support hvPlot by giving it a 🌟 on Github.

Parallelcoordinates#

import hvplot.pandas  # noqa

Parallel coordinates are a common way of visualizing and analyzing high-dimensional datasets.

To show a set of points in an n-dimensional space, a backdrop is drawn consisting of n parallel lines, typically vertical and equally spaced. A point in n-dimensional space is represented as a polyline with vertices on the parallel axes; the position of the vertex on the i-th axis corresponds to the i-th coordinate of the point.

from bokeh.sampledata import iris

iris = iris.flowers
iris.head()
sepal_length sepal_width petal_length petal_width species
0 5.1 3.5 1.4 0.2 setosa
1 4.9 3.0 1.4 0.2 setosa
2 4.7 3.2 1.3 0.2 setosa
3 4.6 3.1 1.5 0.2 setosa
4 5.0 3.6 1.4 0.2 setosa
hvplot.plotting.parallel_coordinates(
    iris,
    class_column='species',
    cols=['sepal_length', 'petal_length', 'petal_width']
)