Manipulating data like a boss with d3
Data is the first D in d3 (or possibly the 3rd, but it’s definitely one of these). Anyway. Putting your data in the right form is crucial to have concise code that runs fast and is easy to read (and, later, troubleshoot). So what shape should your data be in? You undoubtedly have many options. [...]