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.
Use the package manager pip to install AnimatedGraphs.
pip install AnimatedGraphs
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")
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