@rekharjun,
Browsers doesn’t allow reading file from local machines due to security reasons. Please refer to this stackoverflow thread for more information.
If the file is hosted on a server you can read it using jQuery AJAX request.
___________
Indranil Deo,
Team CanvasJS