title: convert a nested JSON file to a table using D3
body: <p>I have <code>JSON</code> data similar to the one shown below. I would like to convert the same data into a table using <code>D3.js</code> can anyone help me on this?</p>
  
  <p><strong>JSON Data:</strong>    </p>
  
  <pre><code>{
      "items": [
          {
          "tableName": "incidents",
          "count": 20000,
          "columnNames": [
              "id",
              "subject",
              "category"
          ],
          "rows": [
              [
                  "61",
                  "Test",
                  null
              ],
              [
                  "65",
                  "TEST 2",
                  null
              ]...
  }
  </code></pre>
  
  <p><strong>Output:</strong></p>
  
  <pre><code>Id Subject Category
  
  61  TEST 1  Null
  
  65  TEST 2  Null
  </code></pre>