Skip to content

UpSet preparations #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

UpSet preparations #168

wants to merge 6 commits into from

Conversation

bobular
Copy link
Member

@bobular bobular commented Jul 20, 2021

This branch just sets the scene for implementing our UpSet plot component around the UpSetJS library.

The package has been added from npm (yarn add @upsetjs/react) and the component (plots/UpSet.tsx) and data definition (types/plots/upset.ts) and story (UpSet.stories.tsx) have been created - very barebones!

A few things to note:

  1. The component does not do any data processing/reformatting! The first step would be to provide data in our format in the story, and process it in UpSet.tsx (most likely using extractFromExpression) and pass it to the UpSetJS component. It's fine to change the UpSetData definition however you please.

Actually I think that's all. We should probably not merge this into main, but if we are happy to go ahead with UpSetJS, then make a branch off this branch and call it upset and close this Draft PR.

@bobular bobular requested review from dmfalke and asizemore July 20, 2021 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant