Skip to main content
https://img.shields.io/pypi/v/svg.charts.svg https://img.shields.io/pypi/pyversions/svg.charts.svg tests Ruff https://readthedocs.org/projects/svgcharts/badge/?version=latest https://img.shields.io/badge/skeleton-2024-informational

svg.charts is a pure-python library for generating charts and graphs using Scalable Vector Graphics.

Acknowledgements

svg.charts depends heavily on lxml and cssutils. Thanks to the contributors of those projects for stable, performant, standards-based packages.

Thanks to Sean E. Russel for creating the SVG::Graph Ruby package from which this Python port was originally derived.

Thanks to Leo Lapworth for creating the SVG::TT::Graph package which the Ruby port was based on.

Thanks to Stephen Morgan for creating the TT template and SVG.

Getting Started

svg.charts has some examples (taken directly from the reference implementation) in tests/samples.py. These examples show sample usage of the various chart types. They should provide a good starting point for learning the usage of the library.

An example of using svg.charts in a CherryPy web app can be found in jaraco.site.charts. If the site is working, you can see the rendered output here.

svg.charts also provides API documentation.

Contributing

This project is hosted at Github.

Please use that site for reporting bugs and requesting help. Patches and contributions of any kind are encouraged.

Release files for svg.charts 7.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for svg.charts 7.3.1
File Size Uploaded
svg.charts-7.3.1.tar.gz 37.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for svg.charts 7.3.1
File Interpreter ABI Platform
svg.charts-7.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 68.8 kB

Release files / svg.charts-7.3.1.tar.gz

Download URL svg.charts-7.3.1.tar.gz
Size 37.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b729269e98d14ce9e4a960a847a628967af5d234914ba713f1ef54783f5f93f4
BLAKE2b-256 checksum
How to use checksums
92bf8fc3525efe416f0e7ad74237a36de2f7242db140192473ed11c6d4ec51f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / svg.charts-7.3.1-py3-none-any.whl

Download URL svg.charts-7.3.1-py3-none-any.whl
Size 30.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30b2dafd6a7d94e511038a249f316652e796111c27e54443cc3a1f20f7cf5054
BLAKE2b-256 checksum
How to use checksums
d29969db5c96104dc43a51175e392c30591627afd9f697005ae378fd7881e1d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

7.3.1 This release

2 release files

7.3.0

2 release files

7.2.1

2 release files

7.2.0

2 release files

7.1.1

2 release files

7.1.0

2 release files

6.1

2 release files

6.0

2 release files

5.0

2 release files

4.0.1

2 release files

4.0

2 release files

3.4.4

2 release files

3.4.3

2 release files

3.4.2

2 release files

3.4.1

2 release files

3.4

2 release files

3.3.2

2 release files

3.3.1

2 release files

3.3

2 release files

3.2

2 release files

3.1

1 release file

3.0

1 release file

2.3

1 release file

2.2.2

1 release file

2.2.1

1 release file

2.2

1 release file

2.1

1 release file

2.0.9

1 release file

2.0.8

1 release file

2.0.7

1 release file

2.0.6

1 release file

2.0.5

1 release file

2.0.4

1 release file

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page