Report question

Question: How can I perform this d3.js magic (Grouped Bar Chart) with JSON rather than CSV?