dub
dub copied to clipboard
Make clicks bar chart adapt to the screen size
This fix resolves #564
TODO:
- [x] upgrade @visx packages versions, also remove unused packages;
- [x] make <BarChart /> a reusable component for rendering any timeseries data, not "clicks" only;
- [x] show "No data available" message when Tinybird returns empty data set;
- [x] add support for mobile view by reducing labels font sizes, changing angles, etc.;
- [x] refactor tooltip to take less space by removing irrelevant margins/paddings;