Skip to main content

A Python charting library with support for pandas, polars, and numpy.

Project description

gocharts

gocharts is a Python library for creating interactive, publication-quality charts using ECharts and a grammar of graphics approach inspired by ggplot2.

Features

  • Grammar of Graphics: Build complex visualizations by layering components (data, aesthetics, geoms, scales, etc.).
  • Interactive Charts: Powered by ECharts for rich, interactive visualizations.
  • Flexible API: Compose plots using a familiar, declarative syntax.
  • Export Options: Render charts in Jupyter notebooks, web apps, or export as HTML.

Installation

pip install gocharts

Quick Start

import gocharts as goc
import pandas as pd

df = pd.DataFrame({
    "time": [1, 2, 3, 4],
    "score": [10, 15, 13, 17]
})

gochart = goc.GoChart(df) \
    .geom('line', map = {'x':'time','y':'score'})

gochart.display()

Documentation

License

TBD

Acknowledgements

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

gocharts-0.1.1.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gocharts-0.1.1-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

Details for the file gocharts-0.1.1.tar.gz.

File metadata

  • Download URL: gocharts-0.1.1.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.1

File hashes

Hashes for gocharts-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d170727eaf6342462598772c185c89ca731bcbe91fb903d36837a73ea117ad56
MD5 27449fba0049bf3031571aeae1c9a9d5
BLAKE2b-256 966d521ccf6e7d10180db0bdcbc690c57f456d7b86bb584553a115cbcbd714f4

See more details on using hashes here.

File details

Details for the file gocharts-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gocharts-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 26.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.1

File hashes

Hashes for gocharts-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 946d236892d296cb456427739b46830a8130f4b4d997a69988ccbacf6a23b330
MD5 5da3edb01ae7ba3df51e5830b584f8de
BLAKE2b-256 2683cfd93812d71b91d6104d57b63ce44f39012b8ca8413df03f7d119f3bbdec

See more details on using hashes here.

Supported by

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