gitmyhub

chartify

Python ★ 3.6k updated 1y ago

Python library that makes it easy for data scientists to create charts.

Chartify is a Python library created by Spotify to make building charts and graphs easier for people who work with data. The goal is to reduce the time spent wrestling with data formatting before you can get a chart to appear. Most charting tools require data to be shaped in specific ways for each chart type, but Chartify uses a consistent format across all of its plot types, so you learn the pattern once and apply it everywhere.

The library comes with sensible default styles, meaning you can get a good-looking chart quickly without spending time adjusting colors, fonts, or layout. The API is designed to be straightforward to learn, and there is a tutorial notebook that walks through the core concepts step by step.

Under the hood, Chartify is built on top of Bokeh, which is a separate charting library for Python. This matters because it means if you ever need to do something Chartify does not directly support, you can drop down to the underlying Bokeh tools without switching libraries entirely.

Installation is done through pip, the standard Python package manager. Exporting charts as PNG image files requires an additional optional setup step involving Google Chrome. The library supports Python 3.9, 3.10, and 3.11. Documentation, a tutorial, and example notebooks are all available online.