Data Analyst Roadmap
Take a question from a messy spreadsheet to a reproducible analysis and a recommendation someone can act on.
This path starts in a spreadsheet. If you already know pivot tables and basic SQL, use the early checkpoints to spot gaps. The same bike-share dataset carries through the whole path, so every exercise can become part of your portfolio.
Your progress
Saved in this browser.
Roadmap flowchart
Choose a milestone to jump to the lesson, exercises and resources.
- Main path
- Optional branch
Start here
- Turn a vague question into a measurable oneComplete
- Inspect a sample in a spreadsheetComplete
- Ask the same question in SQLComplete
- Make the cleaning repeatableCompleteOptional branch: Pick your cleaning workflow
- Make two charts that answer different questionsComplete
- Write a brief someone can make a decision fromComplete
- Portfolio projectA bike-share demand brief
One-shot courses and practice labs
Download one month of public Citi Bike data and pick a small set of stations. Save the source file untouched. Keep a single analysis definition for your time window, what counts as a trip and how you handle missing station IDs.
Use the focus list to choose what to watch. Pause to do the lab while the material is fresh. Each lab builds toward the project at the end of this roadmap.
Data Analyst Bootcamp
Alex The Analyst · 24+ hours
- VideoWatch on YouTube
What to focus on
- Use the Excel chapters for inspecting and summarizing data
- Practise cleaning and pivoting a labeled sample
- Treat later tooling chapters as references after finishing the initial brief
Related lessons
Practice lab
- Write a question that leads to a choice, such as when a station should get a capacity check. Define the time window and the events you will count.
- Create a pivot in Excel or Sheets by station and hour using a labeled sample. Reconcile its total with the original rows and compare one cell with a manual count.
- Write down exclusions and check whether excluded rows cluster by time or station. Keep that note beside the workbook so you can revisit it.
What to have at the endA workbook and one-paragraph data definition that a second person could use to reproduce the same count.
PostgreSQL for Beginners
freeCodeCamp.org · About 4 hours
- VideoWatch on YouTube
What to focus on
- Filtering and grouping records
- JOIN behavior and missing keys
- Checking that an aggregate answers the actual question
Related lessons
Practice lab
- Import the trip data into a staging table. Count incoming rows and the number of distinct trip IDs. Record how you handle any invalid timestamps.
- Build a query for starts and ends by hour. If you join station metadata, count rows before and after the join and look for keys that match more than once.
- Compare one station-day against the spreadsheet result. Save the query and note which conditions explain any difference.
What to have at the endA saved SQL query, reconciliation counts and a hand-checked station-day that matches your output.
Data Analysis with Python
freeCodeCamp.org · About 4 hours
- VideoWatch on YouTube
What to focus on
- Loading and cleaning records with pandas
- Grouping and reshaping tables for charts
- Using Matplotlib to communicate a comparison
Related lessons
Practice lab
- Write a reproducible notebook that loads the raw data, cleans fields and produces the same counts as your SQL for a published subset.
- Chart starts and ends by hour and label the station, denominator and date range. A reviewer should be able to match a plotted point to one value in your output table.
- Write a one-page brief. Give the manager one next action, the evidence for it and the missing information you would gather before making a larger decision.
What to have at the endA raw-to-chart notebook, two charts and a brief that distinguishes trips observed from capacity or demand you have yet to measure.
Lessons and resources
Turn a vague question into a measurable one
“Which stations are busiest?” can mean the highest daily volume or the sharpest rush-hour spike. Start by naming the person who needs the answer and the choice they will make. Check what one row represents, which timestamp belongs to the question, and where the dataset runs out of evidence.
Put it into practice
Download one month of Citi Bike trips. Define a weekday morning window and choose five stations to compare. Write down whether you are counting trip starts, trip ends, or both, and record the date range and assumptions in a README.
Ready to move on?
A second person can read your definition and count the same trips by hand in a 10-row sample.
Common snag
A busy station is only a lead. Trip records show completed rentals, while unserved demand and empty docks require other evidence.
Resources
Inspect a sample in a spreadsheet
A spreadsheet makes a small sample quick to inspect. Start with a pivot that counts trips by station and hour. Check your sheet has recognized the dates correctly and distinguish a genuinely blank station from a spelling variation.
Put it into practice
Take a clearly labeled sample of up to 1,000 rows. Add a helper column for the hour, build a pivot table and reconcile its total with the number of usable rows in the sample.
Ready to move on?
You can point to the source rows behind one cell in the pivot and explain what gets excluded.
Resources
- ReferenceGoogle Sheets function list
Ask the same question in SQL
Use filters to define the population, then group by the station ID and the hour you care about. Learn why COUNT(*) and COUNT(column) can disagree. When you join station metadata, confirm that its keys are unique so one trip stays one trip.
Put it into practice
Load your sample into PostgreSQL. Rebuild the pivot as a query and verify that the totals match. Run the query on the full file, then compare weekdays and weekends using trips per observed day.
Ready to move on?
Your query reproduces the spreadsheet counts for the sample, and you can show before-and-after row counts for any join.
Common snag
Counting all weekday trips against all weekend trips usually compares different numbers of days. Normalize the counts before comparing intensity.
Resources
- ReferencePostgreSQL aggregate functions
Make the cleaning repeatable
Inspect duplicate ride IDs, blanks and timestamp parsing failures before deciding what to keep. Save raw files separately and put each transformation in a query, script or notebook. Record the reason for each exclusion so a reviewer can challenge the decision.
Put it into practice
Create a before-and-after table that accounts for every row removed. Compare the top five stations before and after cleaning and note any ranking changes.
Ready to move on?
A fresh run from the raw download produces the same tidy table and the same exclusion counts.
Optional branch
Pick your cleaning workflow
Keep the work in SQL if the dataset already lives in a database and the steps are primarily filtering and joins. Use pandas if you expect to read several monthly CSVs and need to handle changing file formats.
Resources
- ReferenceWork with missing data in pandas
Make two charts that answer different questions
A ranked bar chart shows which stations have the most trips in the chosen window. A line chart shows when those trips happen. Keep time intervals consistent and label the measure and denominator where someone can see them without reading the notebook.
Put it into practice
Produce one chart comparing trips per weekday across stations and one chart showing starts and ends by hour for a selected station. Give each a title that states what the chart reveals.
Ready to move on?
A reader can name the busiest station, identify a time window and explain the denominator from the charts alone.
Resources
Write a brief someone can make a decision from
Put the proposed action before the methodology. Use one number to show why the recommendation is worth investigating and another to make its limits clear. Keep the query and cleaning notes a click away for someone who wants to check your work.
Put it into practice
Write a one-page brief with a proposed station and time window to investigate. State what an operator should verify using station availability and ask a friend what they would do after reading it.
Ready to move on?
Your reader can state the suggested action and its most important limitation in one sentence each.
Resources
- ReferenceGitHub guide to a project README
Portfolio project
A bike-share demand brief
Use public Citi Bike trip records to recommend when an operations team should investigate demand at a small set of stations. Share a one-page decision brief, your queries, and the steps needed to reproduce each figure.
You’re ready when
- The brief defines what counts as a trip and gives the date range, time zone, exclusions and sample size.
- The analysis reconciles raw and cleaned counts, then checks that a join leaves the expected number of trips.
- Your charts show starts and ends alongside the station and time window they represent.
- The recommendation explains what evidence from station availability would help confirm it.
Make your first ask
When you share this project, open with the decision and link the one-page brief. Keep the query handy so you can show how you caught a bad join or an unfair comparison.
Job referral templates