Pygal - 动态 SVG 图表库


LGPL
跨平台
Python

软件简介

pygal 是一个 Python 开发的动态 SVG 图表库。

示例代码:

import pygal                                                       # First import pygal
bar_chart = pygal.Bar()                                            # Then create a bar graph object
bar_chart.add('Fibonacci', [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55])  # Add some values
bar_chart.render_to_file('bar_chart.svg')                          # Save the svg to a file