Git Product home page Git Product logo

d3-venn's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

d3-venn's Issues

Nodes that are members of more than two sets fail

Instead of

    var data = [
                {"set":["A"],"name":"node_0"},
                {"set":["B"],"name":"node_1"},
                {"set":["B","A"],"name":"node_2"},
                {"set":["B","A"],"name":"node_3"}
                ]

We use

    var data = [
                {"set":["A"],"name":"node_0"},
                {"set":["B"],"name":"node_1"},
                {"set":["C"],"name":"node_2"},
                {"set":["B","A","C"],"name":"node_3"}
                ]

we Get

WARNING: area A,B,C not represented on screen

Experimenting, I can never get nodes that are member of more than two sets to work

Incorrect representation of data

If I use the following data set, I would expect two circles with an overlap in the middle with one item in:

[
{"set":["A"],"name":"node_1"},
{"set":["A"],"name":"node_3"},
{"set":["A"],"name":"node_4"},
{"set":["B"],"name":"node_2"},
{"set":["A","B"],"name":"node_6"},
]

But instead I get
image

Is the data incorrect or is that how the plugin is intended to work?

Integrate this repo in venn.js

Hello,

I've been playing with this repo and found some issues apart from #2 and #3, being the main one that it doesn't work out of the box with d3v4 because of the different namespace convention adopted. -d3.layout doesn't exist anymore-

Also I think in order for the community to benefit from your work it should be merged and maintained in the original venn.js. Obviously this is up to you but as I said I think it'd be beneficial for everybody.

I've opened another issue there in case you want to join the discussion:
benfred/venn.js#88

Publish to NPM

I'm having trouble using this module โ€“ย I added venn.js as a dependency, but I'm getting a compile error there because:

ParseError: 'import' and 'export' may appear only with 'sourceType: module'

which I believe you tried to fix in your PR over there.

If I want to use your module, what should I do?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.