I needed to be able to save the workspace of a project of mine into file so I can load it later. To do so, I needed to save D3 data models into a text file. Here, I’ll explain how one can save a D3 data model into a file. But, before that, I’ll have to explain a number of concepts. JSON JSON or Javascript Object Notion is a open standard format that uses plain text to transmit JS object …