Back to templates

Matplotlib Pie chart

General

Pie chart showing categorical proportions, Support custom color and starting angle.

Publisher: OOPLOT
Published: 2026/4/1
ID: 8
Usage: 0·Views: 0·Favorites: 0
PYTHONmatplotlib

Parameters (5)

  • Width (Default: 7)
  • Height (Default: 7)
  • DPI (Default: 300)
  • Start angle (Default: 90)
  • Chart title (Default: Pie Chart)
Create from this template

Template Inheritance

Parent:None
Children:None

Data Format Requirements

Required Columns

  • Category column(First column)CategoricalRequired
  • Value column(Second column)NumericRequired
Row Constraints: 2 ~ 10 rows

Example Data

You can directly copy and save as data.csv for upload.

Category,Value
A,35
B,28
C,42
D,18
E,55
F,32
G,47
H,23
I,38
J,51
Chart Preview
Matplotlib Pie chart

How to Use

1.Extract/Search/Create Template

Upload images to let AI extract templates in one click, search and select templates, or create templates.

2.View Sample Data

View sample data and manually or via AI modify the data structure to meet template requirements.

3.Upload Data & Run

Upload data, run the template, preview results, and adjust parameters/code to modify the template and chart.

4.Save & Export Chart

Export charts in PNG / JPG / SVG / PDF formats or save to OOPLOT.