Building Interactive Dashboards with User-Driven Data Visualization

Build an interactive dashboard in Dash that updates visualizations based on user input using car sales data.

Build a dynamic dashboard that updates in real time based on user input rather than pre-defined data displays. Learn how to integrate interactive elements using Dash while working with a robust car sales dataset.

Key Insights

  • Create a fully interactive dashboard using Dash that responds to user actions to manipulate and display data in real time.
  • Work with a comprehensive car sales dataset containing 16 columns and over 150 car listings, focusing on details such as manufacturer, model, price, and engine size.
  • Use app.py to implement the interactive features directly in Dash, bypassing Jupyter Notebooks, as demonstrated in the Noble Desktop curriculum.

This lesson is a preview from our Data Analytics Certificate Online (includes software). Enroll in this course for detailed lessons, live instructor support, and project-based training.

We'll be creating a much more interactive dashboard this time around. For our final dashboard, we'll make something where we're not really going to be, we're not going to be making our data fit what we want and then creating a visualization of it. We'll be creating a visualization that based on user interaction changes what's displayed.

So while there will be plenty of data manipulation happening it will all happen only when the user asks for it. So that's a very powerful way of working with Dash. We're going to explore it with this data right here.

This is our car sales data. You can find it in our notebook three folder, carsales.csv. Let's get a broader view of this. It's got a lot of columns, I believe it's 16.

And each of those columns, we have lots and lots and lots and lots of cars, 158 cars, 157 cars. And we'll be looking particularly at manufacturer and model to find the names of it. We'll be looking at its price, its engine size and various other elements here.

Now, this data is going to be read in by our app.py which we haven't created yet. And we're going to be not working with a notebook at all. We're going to be diving right into our Dash code with this one.

All right, we'll get to that in our next video.

How to Learn Python

Build practical programming skills with hands-on Python training. Python is a widely used, versatile programming language applied across data analysis, automation, artificial intelligence, and software development.

Yelp Facebook LinkedIn YouTube Twitter Instagram