Skip to content

Instantly share code, notes, and snippets.

@GerHobbelt
Created April 2, 2012 20:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save GerHobbelt/2286893 to your computer and use it in GitHub Desktop.
Save GerHobbelt/2286893 to your computer and use it in GitHub Desktop.
show XML and JSON error handling in D3
# Editor backup files
*.bak
*~

Shows/tests D3.JS error reporting behaviour for same-domain and cross-domain JSON and XML requests.

/*
Load various data files and show their contents in the HTML page...
Also test error paths and report those as well...
*/
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h1>Testing D3 data loading:</h1>
<div id="report"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment