Comments (2)
The output here is from an optimization algorithm - with the objective function being a sum of squared errors on actual vs. desired sizes. The problem is that the solution above actually has a lower loss than a solution where a/b/c is visible (showing a/b/c means that a/b and b/c etc differ from the target by more than the size of a/b/c).
As a hack, you can weight the importance of each area. Setting
{
"sets": [
"A",
"B",
"C"
],
"size": 7,
"weight": 10000,
}
I realize this isn't ideal
from venn.js.
Hi,
Thanks for looking into it. We are going to play around with setting the weight.
from venn.js.
Related Issues (20)
- Default loss function should use log ratio, not subtraction
- Proper subset not displaying correctly
- Removing and readding a set quickly uninentionally hides the set
- Invisible triple intersection HOT 1
- Minimum circle size HOT 2
- Static size of circles HOT 2
- Label is displayed on other label
- Abandoned? Lots of good PRs out there. HOT 2
- could not find a declaration file for module 'venn.js' in React HOT 1
- Dependent d3 version5 for venn.js HOT 2
- Parsing a heading with each set of data
- Compatibility with d3-selection HOT 1
- url question about snowpack HOT 3
- could you publish the npm for the latest git code? HOT 3
- Uncaught initial bisect points must have opposite signs HOT 1
- How to fix circle same position on every refresh time in venn.js
- Custom circle colors HOT 1
- jsnext:main es6 problem HOT 1
- The calculation accuracy of function circleCircleIntersection problem
- Is there a way to programmatically get a list of intersections not shown. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from venn.js.