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

Creating SVG graphics using svgwrite

Before we close this chapter, let's take a look at how to generate SVG graphics that are based on vectors and computer-drawn lines and shapes that are scalable. To do this, we are going to use a Python library called svgwrite, which you can find here: https://pypi.python.org/pypi/svgwrite. Since this is a Python library on PyPi, we can use pip to install it.

For Windows users using VSPT

Add your current Python instance to your Python environments in your Solution Explorer and type in svgwrite in the Install Python Package prompt as shown in the following screenshot:

For Windows users using VSPT

If successful, you should see the packages in ...

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