benfred/venn.js

How to increase the workspace of venn diagram

suchetaswabhav opened this issue · 1 comments

Hi ,

I am using the venn diagram code from here in my angular2+ code -
similar to yours, only a fiddle made out of it.
http://jsfiddle.net/johnpham92/h04sknus/

code

app.js

var sets;
sets = JSON.parse(localStorage.getItem("sets"));
  console.log("sets=",sets)

var chart = venn.VennDiagram();
d3.select("#venn").datum(sets).call(chart);

app.component.html

<div id="venn"></div>

When the number of nodes increase , the names overlap like this -

api_mining_venn_workspace

Please help to increase the workspace size.

I got the method -

chart = venn.VennDiagram().width(1200).height(1300);