Hey guys i was wondering how you can display data after a click of a button

What im trying to achieve is when a user clicks on a image button of Earth,Mars,Jupiter and so on they will be provided the information of that planet. how can we display huge data like this and link it to each image button?