Come for the code, stay for the community

Site Building: Responsive Tables In Drupal

HTML tables are no longer used for layout (thank goodness), but are still useful for displaying tabular data.

Read: https://www.drupalarchitect.info/articles/responsive-tables

Tables can overflow their container. A quick way to fix this is to make the container scroll horizontally.

Libraries like Tablesaw can collapse tables on mobile. Check out the Responsive Tables Filter module.

Drupal has built in support for "responsive tables" by hiding columns with lower priority on mobile. This can be configured in views.