categories – How to create category filter on a blog like on the site below?

I want to create a blog with different categories of content and I would like the have a category filter on it. But I don’t want to create different pages for it. I want the posts to just adjust according to which category I choose.

See ex:

I have tried different widgets but nothing great 🙁

Thank you in advance.