Skip to content

lgbaeza/py-animated-graph

Repository files navigation

Python animated graph

Create an animated graph from a dataset. For example, we will be using the Capital Bike Sharing Data set

This repo references the PyPi Package available on Pypi AnimatedGraphs. If you wish to contribute, feel free to reach out.

animated graph

Installation

Use the package manager pip to install AnimatedGraphs.

pip install AnimatedGraphs

Usage

import AnimatedGraphs as ag
from AnimatedGraphs import AnimatedBar as agBar

GRAPH_FILENAME = agBar.CreateGraphBar(
    dataset,
    args**
)
if (GRAPH_FILENAME != ""):
    print("Succeed. Animated grahBar available at {}" + GRAPH_FILENAME)
else:
    print("something went wrong")

Sample notebbok

The sample notebook notebook was created on Azure Machine Leaarning Studio.Create a free account in https://studio.azureml.net

  • Create an account in Azure ML
  • Create a dataset using your CSV file
  • Import the notebook
  • Configure the properties of your data set in the CreateGraphBar() function
  • Run the notebook
  • Right click on the generated image and then save as GIF

Author: Luis Gerardo Baeza lgbaeza@gmail.com

About

Animated graph in Python 3 Notebook

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published