Data Visualization

Pygal – Dynamic SVG Charting Library

PYthon svg GrAph plotting Library (pygal) is a dynamic SVG charting statistical visualization library written in Python.

Key Features

  • Wide range of chart types are supported:
    • Line – Basic, horizontal line, stacked, and time.
    • Bar – Basic, horizontal, and stacked.
    • Histogram – Basic.
    • XY – Basic, scatter plot, dates, date, time, and timedelta.
    • Pie – Basic, multi-series pie, donut, and half pie.
    • Radar – Basic (Kiviat diagram).
    • Box – Extremes, interquartile range, tukey, standard deviation, and population standard deviation.
    • Dot – Basic (punch card), and a chart supporting negative values.
    • Funnel – Basic.
    • SolidGauge – Normal and half.
    • Gauge – Basic.
    • Pyramid – Population pyramid.
    • Treemap – Basic.
    • Maps – there are three maps available, a world map, a map of France, and a map of Switzerland. For the world map, you can plot countries by specifying their code. With the French map, you can plot administrative divisions and regions. The Swiss map lets you plot cantons, territorial/administrative subdivisions of Switzerland.
  • Styles:
    • 14 Built-in styles – Default, DarkStyle, Neon, Dark Solarized, Light Solarized, Light, Clean, Red Blue, Dark Colorized, Light Colorized, Turquoise, Light green, Dark green, Dark green blue, and Blue.
    • 5 Parametric styles – Rotate, Lighten, Darken, Saturate, and Desaturate.
    • Custom styles – 2 different ways using either the Style class, or using a custom css.
  • HTML table export of given data.
  • Customize series – secondary, stroke, fill, show dots, show only major dots, dots size, stroke style, rounded bars, inner radius, allow interruptions, and formatter.
  • Built-in data transformers.
  • Export visualizations to PNG/SVG images, stand-alone HTML pages and the Online Vega-Lite Editor.
  • Serialize visualizations as JSON files.
  • Python API for building statistical visualizations in a declarative way.
  • Auto-generated internal Python API that guarantees visualizations are type-checked and in full conformance with the Vega-Lite specification.
  • Display visualizations in the live Jupyter Notebook, JupyterLab, nteract, on GitHub and nbviewer.
  • Auto-generate Altair Python code from a Vega-Lite JSON spec.
  • Public API is chainable and can be simplified as call arguments.
  • Available for Python 2.7 and 3.2, 3.3, 3.4, 3.5.

Website: github.com/Kozea/pygal
Support:
Developer: Kozea Group and contributors
License: GNU Lesser General Public License v3.0

pygal

pygal is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Python Visualization Packages
matplotlibPython 2D plotting library which produces publication quality figures
DiagramsDraw the cloud system architecture in Python code
BokehElegant, concise construction of versatile graphics
DashPython framework for building analytical web applications
seabornPython visualization library based on matplotlib
PlotlyInteractive, browser-based graphing library for Python
VisPyVisualize massive datasets in real time
Vega-AltairDeclarative Visualization in Python
plotnineGrammar of graphics for Python
PyQtGraphPython graphics and GUI library built on PyQt4 / PySide and numpy
bqplotInteractive Plotting Framework for the Jupyter Notebook
VaexFast visualization of big data
PyVista3D plotting and mesh analysis
foliumVisualize data in a Leaflet map
HoloViewsMake Data Analysis and Visualization Seamless
DatashaderGenerates aggregate arrays and representations of them as images
ytMulti-code Toolkit for Analyzing and Visualizing Volumetric Data
GlumpyIntuitive interface between NumPy and modern OpenGL
GeoViewsExplore and visualize geographical, meteorological, and oceanographic datasets
PygalDynamic SVG charting library
GlueMulti-dimensional linked-data exploration

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted