 "a",
  "été",
  "signé",
  "en",
  "août",
  "1992",
  ".",
  "<end>"
];

var data = d3.csvParseRows(d3.select("#attentional-ex2-data").text());
// console.log(data)
var linkData = [];
data.forEach(function(a, ai) {
  a.forEach(function(b, bi) {
    linkData.push({
      ai: +ai,
      bi: +bi,
      v: +data[ai][bi]
    });
  });
});

var nodeMargin = 10;
var networkMargin = 120;

var html = d3.select("#attentional-ex2");
var outerWidth = 984;//html.node().getBoundingClientRect().width;
var outerHeigh