Skip to main content

Create and present animated data stories within data science notebooks.

Project description

Vizzu

ipyvizzu - story Extension

Tutorial · Examples · Reference · Repository

PyPI version CI-CD

About The Extension

ipyvizzu-story is an extension of ipyvizzu that enables users to create interactive presentations from the animated data visualizations built with ipyvizzu right within the data science notebook of their choice. The extension provides a widget that contains the presentation and adds controls for navigating between slides - predefined stages within the story being presented.

Installation

Visit our wiki site for more details about installation.

pip install ipyvizzu-story

Usage

You can create the story below with the following code snippet.

Visit our wiki site for more details and a step-by-step tutorial into ipyvizzu-story or check out our example gallery.

ipyvizzu

from ipyvizzu import Data, Config
from ipyvizzustory import Story, Slide, Step

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

story = Story(data=data)

slide1 = Slide(
    Step(
        Config({"x": "Foo", "y": "Bar"}),
    )
)
story.add_slide(slide1)

slide2 = Slide(
    Step(
        Config({"color": "Foo", "x": "Baz", "geometry": "circle"}),
    )
)

story.play()

Environment support

ipyvizzu-story can be used in a wide variety of environments, visit our wiki site for more details.

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-story-0.3.1.tar.gz (11.2 kB view hashes)

Uploaded Source

Built Distribution

ipyvizzu_story-0.3.1-py3-none-any.whl (14.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page