score:1

Accepted answer

Like @altocumulus said, it looks like the response you are getting is not a valid JSON since it starts with a parenthesis. Looking at the URL itself, it seems your whole JSON is wrapped in (" ")

For the future, if you want to catch this error yourself, you can use a .catch statement on your promise. See the d3 changelog for examples.


Related Query

More Query from same tag