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
Release history Release notifications | RSS feed
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e75d23e053ba7befd3da593323349f81b55610e9e82c00454f9954fab9352bb1
|
|
| MD5 |
9e6b9f50495ed5c5df23bba99111026c
|
|
| BLAKE2b-256 |
5e9c8891af65a22a04ece8d075f133b06dcb91e297da4b3e2cd230291657314b
|
File details
Details for the file flourishcharts-1.6.5.6-py2.py3-none-any.whl.
File metadata
- Download URL: flourishcharts-1.6.5.6-py2.py3-none-any.whl
- Upload date:
- Size: 746.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7f2ef2a8cb8afca639ce4789c466699907dbcd494784a236a29a27f9b24a54b
|
|
| MD5 |
8d4d38eec4af767c5628839510e65fb2
|
|
| BLAKE2b-256 |
f0dceb33de9596e999afb3411aa937e9a4911a1220c416b854ecb8be69c5445e
|