UNHCR Logo
  • Guidance
  • Chart types
  • Resources
  • Tutorials
  • Product gallery
Tutorials
  • R
  • Matplotlib
  • Plotly Python
  • D3
  1. Home
  2. Tutorials
  3. Matplotlib

Matplotlib


Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python. It is a multi-platform data visualization library built on NumPy arrays and designed to work with the broader SciPy stack. In this setion, you will find reproducible code for different types of charts using Matplotlib and the custom style package unhcrpyplostyle.

  • All
  • Change over time
  • Comparison
  • Correlation
  • Distribution
  • Part-to-a-whole
  • Ranking
Area chart
Area chart
Dot plot
Dot plot
Line chart
Line chart
Line column chart
Line column chart
Slope chart
Slope chart
Stacked area chart
Stacked area chart
Streamgraph
Streamgraph
Bar chart
Bar chart
Column chart
Column chart
Grouped bar chart
Grouped bar chart
Grouped column chart
Grouped column chart
Stacked bar chart
Stacked bar chart
Stacked column chart
Stacked column chart
Bubble chart
Bubble chart
Connected scatterplot
Connected scatterplot
Heatmap
Heatmap
Scatterplot
Scatterplot
Histogram
Histogram
Population pyramid
Population pyramid
100% stacked column chart
100% stacked column chart
Donut chart
Donut chart
Pie chart
Pie chart
Treemap
Treemap
Lollipop chart
Lollipop chart
Ordered bar chart
Ordered bar chart
Ordered column chart
Ordered column chart
Slope chart
Slope chart
Contact us
  • Guidance
  • Chart types
  • Resources
  • Tutorials
  • Product gallery

© UNHCR