Streamlit Tambahkan bagan

# Plotting matplotlib
import matplotlib.pyplot as plt

labels = ["a", "b", "c"]
sizes = [100, 200, 50]

fig, ax = plt.subplots(figsize=(10,10))
ax.pie(sizes, labels=labels, autopct="%1.1f%%")
ax.axis("equal")

st.pyplot(fig)
Tense Tarantula