Skip to main content

No project description provided

Project description

flourishcharts

Interactive data visualization for data practitioners. flourishcharts allows users to visualize their data using Flourish charts that are grounded in data storytelling principles. Users can create racing bar & line charts, as well as other interactive elements commonly found in d3.js graphics, easily in R and Python. The package relies on an enterprise API provided by Flourish.

Installation

You can install to a specific virtual env by using pipenv:

pipenv install flourishcharts

or to your global Python installation with pip:

python3 -m pip install --upgrade flourishcharts

Development Installation

Create a dev environment:

pipenv install --dev -e "git+ssh://git@github.com/Canva-public/flourishcharts@main#egg=flourishcharts&subdirectory=python_package"

Set up the env variables (like API keys). Copy-paste the .envrc-demo file, adding your own API keys which can be accessed from your Flourish profile account.

cp .envrc-demo .envrc

Tests

To run tests, run the following:

python -m unittest discover -s tests

How to see your changes

Typescript

If you use JupyterLab to develop then you can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the widget.

To compile the development javascript with live reloading on file changes

npm install
npm run dev

To debug javascript in vs code juypter notebooks, press command+shift+p to open the action bar then search for the action "Developer: Open webview developer tools"

After a change wait for the build to finish and then refresh your browser and the changes should take effect.

Python

If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.

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

flourishcharts-1.6.5.6.tar.gz (732.6 kB view details)

Uploaded Source

Built Distribution

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

flourishcharts-1.6.5.6-py2.py3-none-any.whl (746.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file flourishcharts-1.6.5.6.tar.gz.

File metadata

  • Download URL: flourishcharts-1.6.5.6.tar.gz
  • Upload date:
  • Size: 732.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for flourishcharts-1.6.5.6.tar.gz
Algorithm Hash digest
SHA256 e75d23e053ba7befd3da593323349f81b55610e9e82c00454f9954fab9352bb1
MD5 9e6b9f50495ed5c5df23bba99111026c
BLAKE2b-256 5e9c8891af65a22a04ece8d075f133b06dcb91e297da4b3e2cd230291657314b

See more details on using hashes here.

File details

Details for the file flourishcharts-1.6.5.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for flourishcharts-1.6.5.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c7f2ef2a8cb8afca639ce4789c466699907dbcd494784a236a29a27f9b24a54b
MD5 8d4d38eec4af767c5628839510e65fb2
BLAKE2b-256 f0dceb33de9596e999afb3411aa937e9a4911a1220c416b854ecb8be69c5445e

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