A python SVG Charts Creator


pygal is a dynamic SVG charting library.

It features various graph types:

Python/Css styling with some pre-defined themes. See styling.

And a lot of options to customize the charts.

Get it !

More information in the download page.

Get started

Start here to make your first steps.


You can see the changelog here.

Technical Description

As of now pygal is known to work for python 2.6, 2.7 and 3.2, 3.3, 3.4.

Needed dependencies

pygal uses lxml to generate the svg, this is the only needed dependency.

Optional dependencies

PNG output requires CairoSVG, tinycss and cssselect. Install those with pip install CairoSVG tinycss cssselect.

Unit testing needs py.test or nosetests.

Visual testing is based on flask.