St.write in 3D

Are there kind people who tell me how to present the figure in 3 dimensions?

Depends on the type of figure you want. For example, a scatterplot in 3D would be:

import plotly.express as px
import streamline as st
election = px.data.election()
fig = px.scatter_3d(election, x="Joly", y="Coderre", z="Bergeron", color="winner", size="total", hover_name="district",
                  symbol="result", color_discrete_map = {"Joly": "blue", "Bergeron": "green", "Coderre":"red"})
st.write(fig)

Thank you very much!
I’m trying.