Line Plot

When constructing data to be used with a LinePlot, there must be a unique data point for each point on the discrete axis (defaults to the X axis). Given this data array:

var myData = [
  {id: "alpha", x: 4, y:  7},
  {id: "alpha", x: 5, y: 25},
  {id: "alpha", x: 6, y: 13},
  {id: "beta",  x: 4, y: 17},
  {id: "beta",  x: 5, y:  8},
  {id: "beta",  x: 6, y: 13}

We can create a simple Line Plot:

new d3plus.LinePlot()
    data: myData,
    groupBy: "id"