Skip to content

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

License

Notifications You must be signed in to change notification settings

spotify/chartify

Repository files navigation

Chartify

status release python CI

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

Why use Chartify?

  • Consistent input data format: Spend less time transforming data to get your charts to work. All plotting functions use a consistent tidy input data format.
  • Smart default styles: Create pretty charts with very little customization required.
  • Simple API: We've attempted to make the API as intuitive and easy to learn as possible.
  • Flexibility: Chartify is built on top ofBokeh,so if you do need more control you can always fall back on Bokeh's API.

Examples

https://raw.githubusercontent.com/spotify/chartify/master/docs/_static/chartify1.png

https://raw.githubusercontent.com/spotify/chartify/master/docs/_static/chartify2.png

https://raw.githubusercontent.com/spotify/chartify/master/docs/_static/chartify3.png

https://raw.githubusercontent.com/spotify/chartify/master/docs/_static/chartify4.png

https://raw.githubusercontent.com/spotify/chartify/master/docs/_static/chartify5.png

https://raw.githubusercontent.com/spotify/chartify/master/docs/_static/chartify6.png

See this notebook for more examples!.

Installation

  1. Chartify can be installed via pip:

pip3 install chartify

  1. Install chromedriver requirement (Optional. Needed for PNG output):
    • Install google chrome.
    • Download the appropriate version of chromedriver for your OShere.
    • Copy the executable file to a directory within your PATH.
      • View directorys in your PATH variable:echo $PATH
      • Copy chromedriver to the appropriate directory, e.g.:cp chromedriver /usr/local/bin

Getting started

Thistutorial notebookis the best place to get started with a guided tour of the core concepts of Chartify.

From there, check out theexample notebookfor a list of all the available plots.

Docs

Documentation available onchartify.readthedocs.io

Getting support

Join #chartify on spotify-foss.slack (Get an invite)

Use thechartify tag on StackOverflow.

Resources

Code of Conduct

This project adheres to theOpen Code of Conduct.By participating, you are expected to honor this code.

Contributing

See the contributing docs.