i2-wustl / visualization-ui

0 stars 0 forks source link

Generic handling of small multiples for charts of multiple regions #21

Open DennisGoldfarb opened 4 years ago

DennisGoldfarb commented 4 years ago

When the user draws multiple regions, we'll want to show charts for all those regions. For the timeseries plots, that probably means each region gets a separate line the in the chart. However, for something like a histogram there aren't great ways plot multiple datasets on the same chart. I propose we use the "small multiples" concept which just means repeat the same plot with different data next to it. It's the same concept as facets in ggplot.

I think that each type of chart (e.g. age) should have it's own row. New region charts get added horizontally and there will be a need for a horizontal scrollbar when many regions are drawn. If you think of something better than let us know.