It's easy to use mmg with CSV data if you want - just call mmg_csv
like mmg_csv('example/earthquakes.csv', function(features) {
and you'll get your CSV features in GeoJSON style, as an array you
can feed into mmg.features(features)
.