Ben Frederickson

Results 249 comments of Ben Frederickson

This package assumes that the set areas overlap - so the size of A includes the size of A∩B and A∩C and A∩B∩C in it. In other words, the size...

So - the scale is dynamically calculated in the src/layout.js:scaleSolution function based off the width/height and size of the solution. To maintain a constant scale, I think what you want...

The problem I think is that the circles are positioned via an optimization process (trying to minimize least squares loss between actual size and desired size). in this case its...

The circle positions are calculated by an optimization process right now - trying to minimize the sum of squared errors of desired sizes vs actual sizes. However the circle radius...

@bwlang I think the size for venn.js is correct, it's just that the input format isn't what you are expecting. When you specify this: ``` var sets = [ {sets:...

@bwlang - you are still passing in incorrect parameters =). The intersection size shouldn't ever be larger than the set sizes. If you pass in the parameters like I suggested:...

Are you running the latest version? I believe this has been fixed for quite a while : https://github.com/benfred/venn.js/blob/5ff0ef3ff450803a50c69493cd2bb6ce8b04f9fb/src/diagram.js#L6

I think adding legends would make a good example. There was a PR for this here https://github.com/benfred/venn.js/pull/27 but I didn't want to merge mainly because of the jquery dependency and...

Do you have an example for this? I'm not sure I understand what problem its trying to solve =(.

Umm - whats the diff coming from? Seems like the version numbers there are kind of old, latest is 0.2.19 (and the diff there is between 0.2.8 and 0.2.9).