Source: pie_chart_demo.f90
This example shows how to build pie charts with fortplot using both the stateful
API and the figure_t object API. It demonstrates exploded wedges, automatic
percentage labels via autopct, custom start angles, and multiple output formats
(PNG, PDF, ASCII).
Run it with:
Generated media is written to output/example/fortran/pie_chart_demo/.
pie_chart_demo.f90 - Source codeoutput/example/fortran/pie_chart_demo/make example ARGS="pie_chart_demo"

ASCII output:
(Content embedded here)

ASCII output:
(Content embedded here)