Pygal »

My Coding > Programming language > Python > Python libraries and packages > Pygal

Pygal (Page: 1)

Go to Page:

  1. PyGal for SVG graphics;
  2. World map with PyGal;

Pygal - A Python SVG graph plotting library

Very good Python library for building SVG or PNG files from your data. It can plot main statistical charts, as well as world map.

A disadvantage of this library, it is not well supported anymore and documentation is out of date. Further more, the map is only available for world, France and Swiss.

In order to work with this library, it is necessary to install further modules:

pip install pygal   # Pygal itself
pip install cairosvg # SVG to PNG converter
pip install pygal_maps_world # Library with the world map
pip install pygal_maps_fr    # Library with the France map
pip install pygal_maps_ch    # Library with Swiss map

Pygal chart types

Pygal can do a lot of different chart types:

  • Line
  • Bar
  • Histogram
  • XY
  • Pie
  • Radar
  • Box
  • Dot
  • Funnel
  • Basic
  • SolidGauge
  • Gauge
  • Pyramid
  • Treemap
  • Maps

Go to Page: 1; 2;

Published: 2022-07-27 14:23:06
Updated: 2022-08-01 02:47:03

Last 10 artitles

9 popular artitles

© 2020 -My blog about coding and further learning. This blog was writen with pure Perl and front-end output was performed with TemplateToolkit.