Skip to main content

logo

Data visualization package, simple to use, highly customizable

Test Package Package Index Supported Python Versions


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) and Grid (arrange charts in a grid; grids nest).
  • Themes & configuration. Six predefined themes, each named for its visual trait, plus a global config for tweaking any style attribute — per-chart style overrides 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:

INK theme example charts

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:

You can also connect your AI assistant directly:

  • Context7 — up-to-date, version-aware docs for AI coding assistants
  • GitMCP — an MCP server serving this repository's documentation

Download files

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

Source Distribution

datachart-0.8.1.tar.gz (121.9 kB view details)

Uploaded Source

Built Distribution

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

datachart-0.8.1-py3-none-any.whl (112.9 kB view details)

Uploaded Python 3

File details

Details for the file datachart-0.8.1.tar.gz.

File metadata

  • Download URL: datachart-0.8.1.tar.gz
  • Upload date:
  • Size: 121.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for datachart-0.8.1.tar.gz
Algorithm Hash digest
SHA256 e7390504a2b124c8a845eba120d7bf9764db00298e71f187f321db4a1532ef2d
MD5 148b4e90f42497814c925b53c1e09706
BLAKE2b-256 2f775c7b22e638a156bfac1be2e1811581ce4eab9a0a12580c43a81dc71e6744

See more details on using hashes here.

Provenance

The following attestation bundles were made for datachart-0.8.1.tar.gz:

Publisher: publish-to-test-pypi.yaml on eriknovak/datachart

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file datachart-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: datachart-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 112.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for datachart-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 672ed07e24014659246a5ce1a0407ef47ff302263446caa214d05d6c3e31c2bf
MD5 23ef258105bf18abdd4362cbe8f4c08b
BLAKE2b-256 c75b0f861f391509f71bba5d3c430fb166c16b78248656eda105a22e46518708

See more details on using hashes here.

Provenance

The following attestation bundles were made for datachart-0.8.1-py3-none-any.whl:

Publisher: publish-to-test-pypi.yaml on eriknovak/datachart

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.9.0

2 files

This release

0.8.1 This release

2 files

0.8.0

2 files

0.7.3

2 files

0.7.2

2 files

0.7.0

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

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