d3.json(url[, callback])
Creates a request for the JSON file at the specified url with the default mime type application/json
.
This convenience constructor is approximately equivalent to:
1 2 3 4 | d3.request(url) .mimeType( "application/json" ) .response( function (xhr) { return JSON.parse(xhr.responseText); }) .get(callback); |
Please login to continue.