well,
I think you should read the data on the server side using AJAX, just as I do for interrogating a database.
from my web page I do an AJAX call to a php file on the server, that performs a query on the database and then sends back the data in JSON format, that then is used by javascript to populate the DataTable and then draw the chart.
In your case, the php ( or whatever ) on the server side should read the file, parse it some way depending on file format ( tab delimited,etc ) and return a JSON object
for the real time I think you could set a timer, and at a given interval populate again the DataTable a draw again the chart
hope this helps,
Giulio