Read and write a local .JSON File in a local .html file and add the data to a ` element or serve the file through a local webserver that sends the appropriate CORS (cross origin resource sharing) headers. – super Apr 23 '21 at 13:41

  • Or I guess if you use a local webserver, you could serve both the html and the json from the same server, and CORS is no longer an issue. – super Apr 23 '21 at 13:43
  • I also found this [workaround](https://stackoverflow.com/questions/4819060/allow-google-chrome-to-use-xmlhttprequest-to-load-a-url-from-a-local-file) that might help you test things during development at least. – super Apr 23 '21 at 13:46
  • 0 Answers0