We can then create the Chart using points and specify that we want num_rooms as the X-axis and price as the Y-axis. We'll also set a tool tip (mouseover text) for each point to show the description, post code, size, and price for each property and specify that the chart should be interactive (the user can pan around and zoom in and out).
Finally we add the chart to our UI by passing it to st.altair_chart.
Running the application
That's it! You can run the application with streamlit run app.py and you should be able to see the visualisation and change the filters as you want.
