O'Reilly logo

Learning Python Data Visualization by Chad Adams

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Getting Started with pygal

In this chapter, we will start with building some basic SVG charts using the pygal charting library for Python and look at common chart types and styles.

Why use pygal?

In the world of Python development, there are many libraries for charts (Matplotlib and Plotly being a few examples), and cookbook-style books have been written for many of them. Since this is an introduction to data charting, we need a simple, easy-to-use library where developers new to Python charting, or Python charting in general, could easily take code from this book and build Python applications. The following screenshot shows the pygal website with some chart examples:

This is where pygal comes in; pygal (http://pygal.org/) is a Python-based ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required