Database and python file for graph

Database and python file for graph