Hi all. I'm trying to write an online application which will take user data and plot a simple histogram. I've decided that the best way to do this is via html5's canvas element (for the histogram drawing), but I'm not sure how best to accept the user's data. Ideally, an excel-like table would be good. It'd be awesome if the user could copy data from an excel file (or .ods spreadsheet) into the webpage, then using javascript, I could update the histogram based on that data. I think this would be the best user interface for the project. I know I could set up a table with <input> fields in each cell, but I don't think that would accept copying from excel.

I know it's possible, cause google docs' spreadsheet app does it. I just don't know how difficult it will be. Does anyone have any ideas?