How to represent Dashboard Concepts with Components

Let's learn how to represent LiveView using components.

A dashboard is a metaphor for all of the gauges on a complex machine, where each gauge is a self-contained component. We’re going to model this concept with code, putting each major concept in its own LiveView component. That strategy will let us isolate all of the code for each isolated concept.

Let’s kick things off with the SurveyResultsLive component, which will be responsible for the survey results chart that displays interactive product ratings.

Get hands-on with 1200+ tech skills courses.