# Examples from pyvista.plotting.charts.PiePlot
# =============================================

# Create a pie plot showing the usage of tax money.
import pyvista as pv
x = [128.3, 32.9, 31.8, 29.3, 21.2]
l = [
    'Social benefits',
    'Governance',
    'Economic policy',
    'Education',
    'Other',
]
chart = pv.ChartPie(x, labels=l)
chart.show()

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

