mbostock/d3 — Issue #509: Augment d3.csv.format to handle .parse() structured data
Author: hammer
Created: 2012-02-16 09:08:41+00:00
State: open

Currently, d3.csv.format is the reverse of d3.csv.parseRows [1]. It would be useful it could also reverse the d3.csv.parse function. In other words, if it could take as input an array of objects, each with the same keys, and return a CSV of values with the header row consisting of the key names.

[1] https://github.com/mbostock/d3/wiki/CSV