Add a delimited file (CSV) to the map This sample shows how to add a delimited file (CSV, TSV) to the map by converting it into GeoJSON. This sample uses the open source csv2geojson library. It is also possible to manually parse delimited files, but using a library provides more reusable functionality. The data in this sample is sourced from the USGS Earthquake Hazards Program and consists of all earthquakes with a magnitude of 7 or more between 1900 and 2018.