d3-dsv: Delimiter-Separated Values Parser and Formatter

JSON →
library 3.0.1 ·javascript
verified May 27, 2026

d3-dsv is a robust JavaScript module from the D3.js ecosystem designed for parsing and formatting delimiter-separated values, primarily CSV (Comma-Separated Values) and TSV (Tab-Separated Values). The current stable version is 3.0.1, part of the d3 monorepo, which generally sees stable, infrequent major releases focusing on ecosystem alignment and modern JavaScript features. It adheres to RFC 4180 for CSV parsing, ensuring reliable data handling. Key features include direct parsing functions like `csvParse` and `tsvParse`, as well as a flexible `dsvFormat` method for handling arbitrary delimiters. A notable differentiator is its `autoType` function, introduced in v1.1.0, which automatically infers and converts string values to appropriate data types (e.g., numbers, dates) during parsing, significantly simplifying data preparation. The module is lightweight and offers both row-level and full-document parsing and formatting capabilities, making it suitable for both client-side browser applications (via ESM or UMD bundles) and server-side Node.js environments. Since version 3.0.0, it has adopted ES modules, requiring Node.js 12 or higher.

total hits 22
actors 8 distinct systems
last hit 6d ago MetaBot
ByteDance
9
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France