Load data and render elements.