Skip to content
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

Improve color scheme #10

Closed
dtolnay opened this issue Nov 28, 2017 · 3 comments
Closed

Improve color scheme #10

dtolnay opened this issue Nov 28, 2017 · 3 comments

Comments

@dtolnay
Copy link
Owner

dtolnay commented Nov 28, 2017

I did not find a library for good graph color schemes so there is a quick attempt here. There is a lot of room for improvement so we need to switch to an approach that is proven to work well for graphs.

@dtolnay
Copy link
Owner Author

dtolnay commented Jan 22, 2019

I posted a request for implementation to make this easier to do: dtolnay/request-for-implementation#12.

@pyfisch
Copy link

pyfisch commented Jan 4, 2020

There is now https://crates.io/crates/colourado

@dtolnay
Copy link
Owner Author

dtolnay commented Jun 16, 2021

This got fixed by just using D3's color choices.

var color = d3.scaleOrdinal(d3.schemeCategory10);

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

No branches or pull requests

2 participants