statgen / locuszoom

A Javascript/d3 embeddable plugin for interactively visualizing statistical genetic data from customizable sources.
https://statgen.github.io/locuszoom/
MIT License
156 stars 29 forks source link

Auto-generate interval color scheme and legend #185

Closed abought closed 4 years ago

abought commented 4 years ago

Ticket: #183

Purpose

Allow the intervals track to populate legend and color scheme dynamically, rather than using a hard-coded preset.

This attempts to handle several scenarios of missing or partial data: although global state_ids and preset legends are the ideal for stable coloring, it can build a legend based on the data in region, using only the information in the plot

TODO

Additional changes