Giter Club home page Giter Club logo

Comments (5)

sgratzl avatar sgratzl commented on June 7, 2024

this is upset.js a re-implentation of upsetR, so it will never look like upset2.

Just to clarify you want to compute of 12 sets all possible combinations?

from upsetjs.

vongmengty avatar vongmengty commented on June 7, 2024

yes, I want compute of 12 sets, but the chart was stuck.

my data:
[ { "name": "4c0e0aa0-65f3-4f6b-bdcc-a2ae6b0c0f31", "sets": [ "Grade 7", ] }, { "name": "baf47555-b8d0-4651-9597-dfc569818d94", "sets": [ "Grade 1", "Grade 2", "Grade 3", "Grade 4", "Grade 5", "Grade 6", "Grade 7", "Grade 8", "Grade 9", "Grade 10", "Grade 11", "Grade 12", ] }, { "name": "0dbe440a-c458-40d4-b216-ca0902aa76aa", "sets": [ "Grade 6", "Grade 9", ] }, ]
as I log I see combination have 4095 and the browser always stuck and auto run debug.
image

from upsetjs.

sgratzl avatar sgratzl commented on June 7, 2024

are you looking for the distinct combinations or all possible combinations?

Moreover, have you tried using the extractCombinations method, https://github.com/upsetjs/upsetjs/blob/main/packages/model/src/data/extractCombinations.ts#L88 which is more optimized

from upsetjs.

vongmengty avatar vongmengty commented on June 7, 2024

I'm looking for all possible combinations.
I had used the extractCombinations method, but the upset chart show like above.

Can the upsetjs do the chart like that link https://vdl.sci.utah.edu/upset2/ ?
if can, Can you give me some example please?

because of some my data lots than 12sets.

from upsetjs.

Related Issues (20)

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.