Creating a Chart
Chart cells in DataLab allow you to quickly visualize data without writing code. This helps in identifying trends, comparisons, and insights at a glance.
In this exercise, you will create a bar chart to explore data and determine which film rating has the highest number of movies using the descriptions table in the Course databases.
This exercise is part of the course
Introduction to DataLab
Exercise instructions
- Toggle the Explore cell into a Chart cell.
- Create a bar chart, aggregating
ratingbyCountand setting the Series toindexto display the "number" of movies for eachrating. - Assign the rating with the highest number of movies to the variable
most_movies.
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise