Pygal is a charting library that produces graphical visualisations using Scalable Vector Graphics (SVG). It is designed for creating charts that can be displayed in web browsers while retaining the resolution-independent properties of vector graphics.
SVG output is particularly useful for websites, reports and dashboards because charts can be resized without losing sharpness. The resulting graphics can also incorporate styling and interactive elements that make them more useful for presenting data.
Pygal supports a variety of common statistical and analytical chart types. It provides controls for adjusting their appearance, arranging data series and presenting values in a readable graphical format.
The library is useful when developers want to generate charts programmatically and embed the resulting output in HTML documents without relying on a separate interactive plotting service.
This is free and open source software.
Key Features
- Generate scalable vector charts using SVG.
- Create line, stacked line, bar and horizontal bar charts.
- Support pie, donut, radar, histogram and scatter charts.
- Generate box plots, dot plots, funnel charts and gauge visualisations.
- Provide treemap and other specialised chart types.
- Display multiple data series within individual charts.
- Customise series colours, line styles, markers and other visual properties.
- Interactive chart elements with browser-based tooltips.
- Configurable legends, labels and axis formatting.
- Built-in visual styles for changing chart appearance.
- Custom styling using CSS and reusable style definitions.
- Support for logarithmic and other configurable chart scales.
- Adjust chart dimensions, margins and graphical layout.
- Export SVG output for embedding in web pages and documents.
- Render charts as PNG images when suitable rendering support is available.
- Support interactive legends and chart presentation features.
- Generate standalone SVG files without requiring a hosted graphical service.
Website: github.com/Kozea/pygal
Support:
Developer: Kozea Group and contributors
License: GNU Lesser General Public License v3.0

pygal is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Python Visualization Packages | |
|---|---|
| matplotlib | Python 2D plotting library which produces publication quality figures |
| Diagrams | Draw the cloud system architecture in Python code |
| Bokeh | Elegant, concise construction of versatile graphics |
| Dash | Python framework for building analytical web applications |
| seaborn | Python visualization library based on matplotlib |
| Plotly | Interactive, browser-based graphing library for Python |
| VisPy | Visualize massive datasets in real time |
| Vega-Altair | Declarative Visualization in Python |
| plotnine | Grammar of graphics for Python |
| PyQtGraph | Python graphics and GUI library built on PyQt4 / PySide and numpy |
| bqplot | Interactive Plotting Framework for the Jupyter Notebook |
| Vaex | Fast visualization of big data |
| PyVista | 3D plotting and mesh analysis |
| folium | Visualize data in a Leaflet map |
| HoloViews | Make Data Analysis and Visualization Seamless |
| Datashader | Generates aggregate arrays and representations of them as images |
| yt | Multi-code Toolkit for Analyzing and Visualizing Volumetric Data |
| Glumpy | Intuitive interface between NumPy and modern OpenGL |
| GeoViews | Explore and visualize geographical, meteorological, and oceanographic datasets |
| Pygal | Dynamic SVG charting library |
| Glue | Multi-dimensional linked-data exploration |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.