Skip to main content

SVG charts without dependencies

Project description

Features

  • no big dependencies

  • produces clean SVG

  • available charts: grouped columns, stacked columns, lines, stacked areas

Usage

renderer = StackedColumnRenderer()
data = {
    'rows': [{
        'label': 'Apples',
        'values': [3, 2, 5],
    }, {
        'label': 'Oranges',
        'values': [4, 2, 3],
    }, {
        'label': 'Pears',
        'values': [4, 3, 4],
    }, {
        'label': 'Bananas',
        'values': [5, 1, 2],
    }],
    'legend': ['John', 'Jane', 'Joe'],
}
svg = renderer.render(data)
https://github.com/xi/simplecharts/blob/master/tests/simple_StackedColumnRenderer.svg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplecharts-0.0.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

simplecharts-0.0.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file simplecharts-0.0.2.tar.gz.

File metadata

  • Download URL: simplecharts-0.0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.8

File hashes

Hashes for simplecharts-0.0.2.tar.gz
Algorithm Hash digest
SHA256 04b284d42135b764c5eea7e519d4e03b7cd37b4333f09cae763bf89e83a5310e
MD5 c3028d6825b7a1c134d744f88bc56a65
BLAKE2b-256 9eac2268758bc45ec5f1c8c9dabbf13e61387ff4291a7f623b3427e3c9f86870

See more details on using hashes here.

File details

Details for the file simplecharts-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: simplecharts-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.8

File hashes

Hashes for simplecharts-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a7ecc9ea29b3012f512211c93f26cca661fa2f7040634b65bc41f6c45b8f1890
MD5 7dfb7d3e9e01fb879de8eff62949b135
BLAKE2b-256 7e07881819471fe50fca00c6686e70c63077a0794f2fa30a9fa748b645c8235f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page