ajam/topline

Make ranking/list tab

mhkeller opened this issue · 0 comments

It would be nice if you could have the option of showing a two-column list ranking the states on one of the data values. You could have a tab like Map | Ranking at the top and each row would have the Stateface icon.

Some ideas

  • In your settings, something like defaultView where you can choose whether to land on the map or ranking view
  • A setting to show just the view specified as your defaultView, this could be called singleMode defaults to false.
  • Layout gets tricky if you have multiple data attributes per state. It would be nice if it displayed only the numerical field by searching for the first number value. Or you could specify with rankBy.

Note: For categorical maps, the only ones currently supported, this would more appropriately be called List and instead of display a number, it should display a colored square similar to its appearance in the legend.