In this Plotly tutorial, you will learn how to plot parallel coordinates in Python. You can use px.parallel_coordinates()
function to plot parallel coordinates.
# Import Plotly Module import plotly.express as px # Import Dataset dataset = px.data.gapminder().query("continent=='Oceania'") # Parallel Coordinates plot = px.parallel_coordinates(dataset, color="country", title='Plotly Parallel Coordinates', height=400, width=600) # Show the Plot plot.show()
Output:
