How to create a chart using an uploaded CSV file as input? I wish to generate a table and chart using an uploaded csv file (in Drupal 7).

I have uploaded the CSV file using the Feed Importer module and created a view (using the Views module). The view uses a display format of 'Chart', which is one of the possible views 'styles' you will have after enabling the Chart module.

My question: I don't know how to apply this to the uploaded CSV file.
You might want to use the Google Chart API module with Views integration. Here is a post that might help you - Add Charts To Your Drupal Site. It uses the Node Import module to create a node of statistics by way of importing a CSV file.