For security reasons, browsers restrict cross-origin requests. Serving JSON file from local webserver and making an AJAX call to it or serving it from CORS enabled JSON hosting service like myjson.com should work fine. Please take a look at this jsfiddle.
Also can you please check the Browser Console if there are any errors. Also kindly create jsfiddle reproducing the issue so that we can look into it and help you out.