CSV file restore in mongodb
You can import the (.csv) file through the following commands

mongoimport -d databaseName -c collectionName --type csv --file locationsOftheCSVFile.csv --headerline


For example here I have created the database name test and collection name StackExchange and going to import the LocarionReq.csv file.

&gt; use test
switched to db test
&gt; db.createCollection("StackExchange");
{ "ok" : 1 }
&gt; show collections
StackExchange

C:\Program Files\MongoDB\Server\4.0\bin&gt;mongoimport -d test -c StackExchange --type csv --file C:\test\LocationReq.csv --headerline
2019-04-11T10:58:53.147+0300    connected to: localhost
2019-04-11T10:58:53.263+0300    imported 1000 documents


Now you can check the total document records through the mongo shell command 

&gt;db.StackExchange.find().count();
 1000


If you want to find the document records through mongo shell then run the command such as

&gt; db.StackExchange.find().pretty(); -- an easy-to-read attractive format.

Or

&gt; db.StackExchange.find();



  Note : Run mongoimport or mongoexport from the system command line, not the mongo shell.


For your further ref here