How to compare two resouce

The same task has two time periods, such as planned start time, planned end time and actual start time, and actual end time. How can I compare and display the resource diagram of these two times?
Thank you very much!

The following article explains how to add resource views:
Here are examples of how it works:

But there are many ways to configure it. Please, send me an image of how you imagine it should look.

Thanks for your reply,
I think I have found what I want to achieve!Just like this baseline example.