multinet-app / multilink

A node-link visualization built to work with the multinet ecosystem.
https://multinet.app
Apache License 2.0
4 stars 2 forks source link

Use vega lite to render sidebar charts #371

Closed JackWilb closed 1 year ago

JackWilb commented 1 year ago

Does this PR close any open issues?

Closes #356 Closes #327

Give a longer description of what this PR addresses and why it's needed

This uses Vega lite to render the sidebar legend. This is more robust than the d3 solution before. I also made the color scale work better with continuous and discrete scales.

Provide pictures/videos of the behavior before and after these changes (optional)

Screenshot 2023-06-01 at 1 32 37 PM Screenshot 2023-06-01 at 1 51 57 PM

Are there any additional TODOs before this PR is ready to go?

TODOs:

netlify[bot] commented 1 year ago

Deploy Preview for next-multilink ready!

Name Link
Latest commit 6764f24d0f9997fedc0955827971955b27a994c1
Latest deploy log https://app.netlify.com/sites/next-multilink/deploys/647a4252fbb17f00080f14cc
Deploy Preview https://deploy-preview-371--next-multilink.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.