Loading…
DS · Visualisation · Program 37 · In the record
Interactive data visualization using Plotly.
1import plotly.express as px2 3df = px.data.iris()4fig = px.scatter(df, x='sepal_length', y='sepal_width', color='species',5 size='petal_length', hover_data=['petal_width'], title="Interactive Iris Scatter Plot")6fig.show()(opens an interactive Plotly dashboard in the web browser - no printed output)

Run program 37 in your browser
Python 3.14 · Pyodide. Change the code or the input, run it, break it, and see what happens.