Creating a simple data visualization module in python