Article Directory
The visualization of multi-dimensional (more than 3-dimensional) data is not easy to achieve with conventional methods. This article introduces several methods implemented in Python to display multidimensional data in a two-dimensional plane.
data
Take the classic iris dataset as an example.
The following are 5 pieces of formatted data for easy visual display later.
The first 4 columns are the 4 characteristics of the iris, and the last column is the 3 classifications of the iris.
data visualization
parallel coordinates
Each vertical line in the figure represents a feature, and the data of a row in the table is represented as a polyline in the figure, and lines of different colors represent different categories.
import pandas as pd