Skip to main content

Jupyter Notebook integration for Vizzu.

Project description

Vizzu

ipyvizzu - Jupyter notebook integration for Vizzu.

Tutorial & Examples · Repository

CI check

About The Project

ipyvizzu provides Jupyter Notebook integration for Vizzu.

Installation

ipyvizzu requires only IPython package. However you can use it only in Jupyter Notebook therefore notebook project has to be installed.

pip install ipyvizzu
pip install notebook

ipyvizzu downloads Vizzu from jsDelivr CDN by default, but a local copy of it can be used.

Install a local copy of Vizzu.

npm install vizzu@~0.4.0

Change Vizzu's url in the constructor of the Chart class.

from ipyvizzu import Chart

chart = Chart(vizzu="./node_modules/vizzu/dist/vizzu.min.js")

Usage

ipyvizzu only works in Jupiter Notebook environment. A notebook cell may contain the following code snippet.

from ipyvizzu import Chart, Data, Config

data = Data()
data.add_series("Foo", ['Alice', 'Bob', 'Ted'])
data.add_series("Bar", [15, 32, 12])
data.add_series("Baz", [5, 2, 2])

chart = Chart()
chart.animate(data)

chart.animate(Config({"x": "Foo", "y": "Bar", "color": "Foo"}))
chart.animate(Config({"geometry": "circle"}))
chart.animate(Config({"x": "Foo", "y": "Baz", "color": "Foo"}))
chart.animate(Config({"geometry": "rectangle"}))

Visit our documentation site for more tutorials and examples.

Contributing

We welcome contributions to the project, visit our contributing guide for further info.

Contact

License

Copyright © 2022 Vizzu Kft..

Released under the Apache 2.0 License.

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

ipyvizzu-0.6.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

ipyvizzu-0.6.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file ipyvizzu-0.6.0.tar.gz.

File metadata

  • Download URL: ipyvizzu-0.6.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for ipyvizzu-0.6.0.tar.gz
Algorithm Hash digest
SHA256 0391ec9db1be6d94659f89efd24a7e300e3141fdf549f0049843f937b7972e49
MD5 e03ffa2bbe04155ef5bf89d6308c47b8
BLAKE2b-256 db97e8c0ee82090602ed4888b0fc71e908af2258d141e4ee9a724b239c622a63

See more details on using hashes here.

File details

Details for the file ipyvizzu-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: ipyvizzu-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for ipyvizzu-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1cdeed4b43cb96cf9c98c1b95865dc753fea55f7e1d319f11643ac6bac643076
MD5 46a53f9e86260ef7579e58fa56f71676
BLAKE2b-256 419f9e9f02d5418336c17e6db59308ebb0928e0953c8d9bf4a463c060a48c389

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