{"version":"1.0","type":"rich","title":"Gist 6791729","description":"This example demonstrates an efficient pipeline for importing a large CSV dataset into a LevelDB key-value store. It streams the 1994.csv file (5.2 million lines) through `binary-split` to separate lines without creating JavaScript objects, then groups them into 16 MB batches via `byte-stream`. Each batch is written using LevelDB's batch API (`db.batch()`), with lines stored as raw binary values under incrementing integer keys. The process avoids object allocation entirely and completes the import in roughly 50 seconds.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-6791729?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}