examples/d3LinkedViews/main.js
function setSizes(){
  
    // Put the scatter plot on the left.
    scatterPlot.box = {
      x: 0,
      y: 0,
      width: div.clientWidth / 2,
      height: div.clientHeight
    };

    // Put the bar chart on the right.
    barChart.box = {
      x: div.clientWidth / 2,
      y: 0,
      width: div.clientWidth / 2,
      height: div.clientHeight
    };
  }
function setSizes(){
  
    // Put the scatter plot on the left.
    scatterPlot.box = {
      x: 0,
      y: 0,
      width: div.clientWidth / 2,
      height: div.clientHeight
    };

    // Put the bar chart on the right.
    barChart.box = {
      x: div.clientWidth / 2,
      y: 0,
      width: div.clientWidth / 2,
      height: div.clientHeight
    };
  }
function setSizes ( ) { // Put the scatter plot on the left. scatterPlot . box = { x : 0 , y : 0 , width : div . clientWidth / 2 , height : div . clientHeight } ; // Put the bar chart on the right. barChart . box = { x : div . clientWidth / 2 , y : 0 , width : div . clientWidth / 2 , height : div . clientHeight } ; }
Sets the `box` property on each visualization to arrange them within the container div.
Sets the box property on each visualization to arrange them within the container div .