Upload CSV and plot simple graph


I want to upload a csv file and show a graph based on the data contained in that csv.
I tried to combine the following tutorials:

uploaded my csv file like in the example:
-here I can upload a csv and get a html table as output.

and want to make a (for example) scatterplot with this data as discribed here:
https://dash.plot.ly/getting-started - more about visaulization.
-for the visualization the file here is a csv in my local directory.

But i stuck at the point where to combine this two tutorials because what i get out of the first tutorial is a html tabel
and what is needed to print a graph in the second tutorial is a dataframe.

Help please!