Data visualization package, simple to use, highly customizable
Documentation: https://eriknovak.github.io/datachart
Source code: https://github.com/eriknovak/datachart
The datachart package is a python package for creating data visualizations, built on top of matplotlib. It is designed to be simple to use and highly customizable, i.e. it is easy to change the look and feel of the charts.
Features:
- Charts. Bar charts, line charts, scatter charts, histograms, heatmaps, box plots, pyramid charts, radial charts, and parallel coordinates — each created with a single function call from plain lists of dicts.
- Composition. Combine rendered charts with
Panel(overlay charts on a single plot, with optional dual y-axes) andGrid(arrange charts in a grid; grids nest). - Themes & configuration. Six predefined themes, each named for its visual trait, plus a global
configfor tweaking any style attribute — per-chartstyleoverrides included.
Requirements
Before starting the project make sure these requirements are available:
- python. The python programming language (v3.10 or higher).
Install
pip install datachart
Upgrade
pip install datachart --upgrade
Example
Set a theme once and every chart follows it. The example below uses the INK theme:
from datachart.charts import LineChart
from datachart.config import config
from datachart.constants import THEME
config.set_theme(THEME.INK)
figure = LineChart(
[
[{"x": x, "y": y} for x, y in enumerate([40, 45, 43, 50, 56, 54, 61])],
[{"x": x, "y": y} for x, y in enumerate([38, 40, 44, 43, 48, 52, 55])],
],
title="Line",
subtitle=["Run 1", "Run 2"],
show_legend=True,
)
The same theme, across chart types and composed with Grid:
More examples on how to use the datachart package are available
on the official How-to Guides.
Using with LLMs
The documentation is available in LLM-friendly formats:
- llms.txt — index of the documentation with descriptions
- llms-full.txt — full documentation in a single file
- Every documentation page is also available as plain markdown by appending
index.mdto its URL, e.g. how-to-guides/charts/linechart/index.md
You can also connect your AI assistant directly:
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datachart-0.9.0.tar.gz.
File metadata
- Download URL: datachart-0.9.0.tar.gz
- Upload date:
- Size: 168.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85869f198c1057f037355cb580d623ece935fe9abd827e2592967ac448a777a7
|
|
| MD5 |
8167a95e30d6eb5a055d40ef745835fb
|
|
| BLAKE2b-256 |
6cc33757254f9144394e17c5a6690782ee893a873a7ecfcc2be700ca3d1bd050
|
Provenance
The following attestation bundles were made for datachart-0.9.0.tar.gz:
Publisher:
publish-to-test-pypi.yaml on eriknovak/datachart
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datachart-0.9.0.tar.gz -
Subject digest:
85869f198c1057f037355cb580d623ece935fe9abd827e2592967ac448a777a7 - Sigstore transparency entry: 2620579634
- Sigstore integration time:
-
Permalink:
eriknovak/datachart@6cf3d222dcb3cd25741459db9bedb50fda40345f -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/eriknovak
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-test-pypi.yaml@6cf3d222dcb3cd25741459db9bedb50fda40345f -
Trigger Event:
release
-
Statement type:
File details
Details for the file datachart-0.9.0-py3-none-any.whl.
File metadata
- Download URL: datachart-0.9.0-py3-none-any.whl
- Upload date:
- Size: 156.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
564f8040b7ef4ef3020710efd2bc522c74235bc7e4b394e440de1987b7746788
|
|
| MD5 |
19243efd841ac22f6b2cc6a81121a8e0
|
|
| BLAKE2b-256 |
7340c5123402367c88d510f995a22e3aab730a4b5ac029a546ac42dd28a4b190
|
Provenance
The following attestation bundles were made for datachart-0.9.0-py3-none-any.whl:
Publisher:
publish-to-test-pypi.yaml on eriknovak/datachart
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datachart-0.9.0-py3-none-any.whl -
Subject digest:
564f8040b7ef4ef3020710efd2bc522c74235bc7e4b394e440de1987b7746788 - Sigstore transparency entry: 2620579751
- Sigstore integration time:
-
Permalink:
eriknovak/datachart@6cf3d222dcb3cd25741459db9bedb50fda40345f -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/eriknovak
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-test-pypi.yaml@6cf3d222dcb3cd25741459db9bedb50fda40345f -
Trigger Event:
release
-
Statement type: