Analytics track
Data Analytics
Look at tables of numbers and find simple answers, like “which shop sold the most?”
Start at step 1. Each idea prepares you for the next one.
- 1Understand databases, tables, rows and columns
- 2Create a database and define a table
- 3Select the database and read data with SELECT
- 4Choose columns, filter rows and sort results
- 5Summarise data with functions and GROUP BY
- 6Connect related tables with JOIN
- 7Clean and transform untidy data
- 8Analyse patterns and define useful KPIs
- 9Create charts and explain what they show
- 10Build dashboards in Power BI or Tableau
- 11Deliver a clear business report and portfolio project
Continue where you left off
See the whole table
31 questions remaining in this sector
Your datasets, exercises and portfolio outputs stay inside the sector you choose.
Beginner · Data Selection & Data Filtering
6 exercises — finish them all to earn a certificate
6 questions left to earn this certificate
See the whole table
+20 XPYou are a data analyst in the Finance team. The star * means "everything". We ask the computer to show every row of payments.
Pick one column
+20 XPYou are a data analyst in the Finance team. Instead of everything, we only want the region column.
Pick two columns
+20 XPYou are a data analyst in the Finance team. A comma joins two column names, like 'apples, pears'.
Only show North
+20 XPYou are a data analyst in the Finance team. WHERE is a filter. It keeps only the rows where region is 'North'.
Bigger than 300
+20 XPYou are a data analyst in the Finance team. The > sign means "bigger than". We keep rows where amount is bigger than 300.
High-value claims in the North region
+20 XPYou are a data analyst. You have joined the claims analytics team at a short-term insurer. The regional manager for North suspects a spike in large motor claims and wants the list before the 10:00 review.
Intermediate · Matplotlib & Seaborn
10 exercises — finish them all to earn a certificate
10 questions left to earn this certificate
Biggest first
+20 XPYou are a data analyst in the Finance team. ORDER BY sorts rows. DESC means start with the biggest.
Count the rows
+20 XPYou are a data analyst in the Finance team. COUNT(*) counts how many rows there are, like counting sweets in a jar.
Add up amount
+20 XPYou are a data analyst in the Finance team. SUM adds all the numbers in amount together.
Find the average
+20 XPYou are a data analyst in the Finance team. AVG gives the middle-ish value: add everything, then share equally.
Count per region
+20 XPYou are a data analyst in the Finance team. GROUP BY puts rows into piles by region, then COUNT counts each pile.
Intermediate plus 1: Bar chart with matplotlib
+20 XPYou are a data analyst in the Finance team, working with payments data. plt.bar draws one bar per group, so you can compare sizes by eye.
Intermediate plus 2: Line chart over time
+20 XPYou are a data analyst in the Finance team, working with payments data. plt.plot joins the points with a line — good for showing change.
Intermediate plus 3: Seaborn bar plot
+20 XPYou are a data analyst in the Finance team, working with payments data. sns.barplot groups and averages for you in one line.
Intermediate plus 4: Group totals
+20 XPYou are a data analyst in the Finance team, working with payments data. groupby puts matching rows together, sum adds each group.
Intermediate plus 5: Seaborn histogram
+20 XPYou are a data analyst in the Finance team, working with payments data. A histogram shows how values are spread out.
Advanced · Duplicate Removal & Result Sampling
15 exercises — finish them all to earn a certificate
15 questions left to earn this certificate
- List each region once
- Show only the top 2
- Smallest and biggest
- Give a column a nice name
- Keep North or South
- Between 300 and 500
- Names starting with 'N'
- Only groups with more than one row
- Label rows High or Low
- Rank rows like a leaderboard
- Advanced plus 1: Box plot to spot outliers
- Advanced plus 2: Two charts side by side
- Advanced plus 3: KPI share of total
- Advanced plus 4: Pivot into a heatmap
- Advanced plus 5: Save a chart for a report
List each region once
+20 XPYou are a data analyst in the Finance team. DISTINCT removes repeats, so every region appears only one time.
Show only the top 2
+20 XPYou are a data analyst in the Finance team. LIMIT stops after a few rows — handy for a 'top 2' list.
Smallest and biggest
+20 XPYou are a data analyst in the Finance team. MIN finds the smallest number, MAX the biggest.
Give a column a nice name
+20 XPYou are a data analyst in the Finance team. AS renames a result column so reports are easy to read.
Keep North or South
+20 XPYou are a data analyst in the Finance team. IN checks if a value is in a short list — like a guest list.
Between 300 and 500
+20 XPYou are a data analyst in the Finance team. BETWEEN keeps numbers inside a range, including both ends.
Names starting with 'N'
+20 XPYou are a data analyst in the Finance team. LIKE searches text. % means 'anything after this'.
Only groups with more than one row
+20 XPYou are a data analyst in the Finance team. HAVING filters groups AFTER GROUP BY. WHERE filters rows before.
Label rows High or Low
+20 XPYou are a data analyst in the Finance team. CASE WHEN makes a new label column — an 'if this, then that' rule.
Rank rows like a leaderboard
+20 XPYou are a data analyst in the Finance team. RANK() OVER gives every row a place number without hiding any rows.
Advanced plus 1: Box plot to spot outliers
+20 XPYou are a data analyst in the Finance team, working with payments data. A box plot shows the middle, the spread and odd values.
Advanced plus 2: Two charts side by side
+20 XPYou are a data analyst in the Finance team, working with payments data. plt.subplots makes several small charts in one picture.
Advanced plus 3: KPI share of total
+20 XPYou are a data analyst in the Finance team, working with payments data. Share = group total ÷ grand total × 100.
Advanced plus 4: Pivot into a heatmap
+20 XPYou are a data analyst in the Finance team, working with payments data. A pivot table turns rows into a grid; a heatmap colours it.
Advanced plus 5: Save a chart for a report
+20 XPYou are a data analyst in the Finance team, working with payments data. savefig writes the chart to an image file you can share.