Modified ODM API demo script

Updated the plot generation to use pandas dataframe.