import pandas as pd
import matplotlib.pyplot as plt
from pandas.plotting import parallel_coordinates
# Load the Iris dataset
iris = pd.read_csv('https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data',
header=None, names=['sepal_length', 'sepal_width', 'petal_length', 'petal_width', 'class'])
# Create a parallel coordinates plot
plt.figure()
parallel_coordinates(iris, 'class')
# Add a legend and display the plot
plt.legend()
plt.show()