Instantly share code, notes, and snippets.
In response to a Stack Overflow question, How to convert to D3's JSON format?.