taviz")
    .append("svg")
  .attr("viewBox",[0,0,width+90,height+80])
      .attr("width", width + margin.left + margin.right)
      .attr("height", height + margin.top + margin.bottom)
    .append("g")
      .attr("transform",`translate(${margin.left},${margin.top})`);

// Read dummy data
d3.json("https://raw.githubusercontent.com/holtzy/D3-graph-gallery/master/DATA/data_researcherNetwork.json").then( function(data) {

  // List of node names
  const allNodes = data.nodes.map(d => d.name)

  // List of gr