Multi-series Scatterplot

This examples how you can map multiple data series in a scatter plot


CSS Code

  #multi_scatter .d4 .grid.border rect {
      fill: none;
      stroke: #aaa;
      stroke-width: 1px;
      shape-rendering: crispEdges;
  }

  #multi_scatter .d4 .grid line {
      fill:none;
      stroke: #aaa;
      stroke-width: 1px;
      stroke-dasharray :5, 5;
      shape-rendering: crispEdges;
  }

  #multi_scatter .d4 .series0 {
      fill: bisque;
      fill-opacity: 0.6;
      stroke: bisque;
      stroke-width: 1px;
  }

  #multi_scatter .d4 .series1 {
      fill: darkslategrey;
      fill-opacity: 0.6;
      stroke: darkslategrey;
      stroke-width: 2px;
  }
JavaScript Code