MSD-LIVE / issues

0 stars 0 forks source link

Improve user experience for brush component on metrics #199

Open jugovimm opened 4 months ago

jugovimm commented 4 months ago

Some of our metrics charts (datasets, downloads) use the "Brush" component from recharts. This component allows users to view a subset of data in the chart (i.e. they can view a smaller range of data, select a date range). This component is not very intuitive however.

Include some sort of "note" so that users are invited to use the component. For example, the bar could have text in it before the user interacts with it, which disappears upon use.

The brush also does not dynamically affect the display of date ticks depending on range selected. Make it so that no matter the date range selected, there are at least 7-8 date ticks shown as long as a date range 7-8 in length or larger is selected. Else show all ticks.