Is there a way to display results this way?

So, I’m making a webapp and want my results displayed this way:

Is there a way to do so?

Thanks

The things you are showing in the picture is possible with some CSS hacks, but what do you mean by “this way”? what exactly? the colors should change by rate also? will it be only 2 columns always?