Best way to display a tables with header titles in axis (vertical/horizontal)

For tables/matrix in printed paper is very common to see the 2 axis/header titles separated by a diagonal bar titles separated by diagonal bar

Also common to see in printed probability/impact matrix

risk matrix with a separation diagonal bar

However, HTML or excel(AFAIK) doesn't allow this visualization, so previous style is not common to see in digital content.

I think the more standard/common options are:

excel example1

excel example2

excel example3

is there any theory or study about this type of tables? What do you think is the best solution in terms of UX?

is there any modern language or technology that supports the cell with 2 values separated by a diagonal bar?