title: How to use this data with D3js Scatter Plot?
body: <p>I have data in following format and want to use with D3.js Scatter Plot:</p>
  
  <pre><code>{
      "0": [
               {"X":"1", "Y":"1"},
               {"X":"2", "Y":"2"},
               {"X":"3", "Y":"3"},
               {"X":"4", "Y":"4"}
           ],
      "1": [
               {"X":"1", "Y":"1"},
               {"X":"2", "Y":"2"},
               {"X":"3", "Y":"3"},
               {"X":"4", "Y":"4"}
           ],
      "2": [
               {"X":"1", "Y":"1"},
               {"X":"2", "Y":"2"},
               {"X":"3", "Y":"3"},
               {"X":"4", "Y":"4"}
           ],
      ...
  }
  </code></pre>
  
  <p>Provided that, I want each 0, 1, 2 and N to be treated as a new series for the Scatter Plot while want to draw dots using X,Y provided in that N (0, 1, 2 or N).</p>
  
  <p>My apparent confusions are around following points:</p>
  
  <ol>
  <li><p>Is this data good for Scatter Plot? if not, then what should be the best graph (an existing example will be great in either case).</p></li>
  <li><p>How to use this data with d3.min() and d3.max()?</p></li>
  <li><p>How to use this data to define the scaling for X and Y axis, as well?</p></li>
  </ol>
  
  <p>Any help is highly appreciated. Thanks in advance.</p>