Skip to content
mbostock edited this page Jul 1, 2011 · 19 revisions

API Reference

# d3.csv(url, function)

Issues an HTTP GET request for the comma-separated values (CSV) file at the specified url. The mime type of the request will be "text/csv". The request is processed asynchronously, such that this method returns immediately after opening the request. When the CSV data is available, the specified callback function will be invoked, being passed the parsed rows. If an error occurs, the callback function will instead of invoked with null.

# d3.csv.parse(string)

# d3.csv.parseRows(string[, accessor])

# d3.csv.format(rows)

Clone this wiki locally