Added chart component functionality for uploaded file display.