Help Request: Compare Engine Reco Request

I'm wondering if anyone can recommend a solution to build a comparison mechanism for a website where the user has the ability to select 5 products or brands or items against each other? I know i can build this as a static page with tables but want it to be dynamic. Variable could include, price, ratings, quality, warranty, etc.

Another example would be something like compare brands of Vitamin C from 5 different manufacturers and have common attributes of all shown on a grid with values for each one user has selected.

Anyone have a recommendation please (and thanks).

Merry Christmas

Al