Observable Reference Code: https://observablehq.com/@viscourse/t...
Prior video: • How to Sort Data in Vega-Lite: A Step-by-S...
In this video, Dr. Padilla dives into the essential skill of filtering data in Vega-Lite, helping you make sense of large and complex datasets. Learn how to effectively use the filter transformation to focus on the most relevant data points, such as countries with the highest death tolls from natural disasters. You'll also discover how to create and apply custom rankings using the window function and explore tips for handling messy real-world data, like filtering out irrelevant entries.
Whether you're a data science beginner or an experienced user looking to refine your skills, this tutorial offers practical steps for improving your data visualizations. Don't forget to pause the video and follow along with the code examples to get the most out of this lesson.
Timestamps:
00:00 Introduction to Filters in Vega-Lite
01:30 Applying the Window Function
03:45 Creating a Custom Rank for Data
06:00 Filtering Based on Custom Criteria
08:30 Handling Messy Data in Real-World Datasets
10:45 Sorting Data After Filtering
12:00 Preview of the Next Lesson: Combining Datasets with Join
Resources:
Previous Video: Sorting Data in Vega-Lite: • How to Sort Data in Vega-Lite: A Step-by-S...
Next Video: Using Join to Combine Datasets in Vega-Lite
If you found this video helpful, please like, subscribe, and hit the notification bell to stay updated with more data visualization tips and tricks!