DataLab Notebook is part of Practice Tools. Sign in or create an account, then subscribe for โฆ4,000/month to unlock it.
Step-by-step exercises for DataLab Notebook - read them here, then practice live in the tool above.
Practice breaking a data-analysis problem into discrete, cell-by-cell steps โ question, look, clean, compute โ keeping each cell doing exactly one thing.
The notebook runs plain JavaScript in each cell โ no real file import, no pandas-style library. Your "dataset" is just a JS array or object you write directly into a cell.
Something small enough to hold in your head: a list of numbers, a handful of names with scores, a short list of prices. Then pick one genuine question about it โ not "explore the data," but something specific, e.g. "what's the average?" or "which item is the outlier?"
Click Open to launch the notebook. You'll see a starter cell already there โ read it, then replace it with your own.
Not code โ just a comment. This forces you to commit to a specific question before touching any data.
Just look โ no filtering, no computing yet. Click + Add Cell, write your dataset as a plain array or object, and console.log it to see it printed. Click โถ Run to see the output appear below the cell.
Even simple data usually needs one cleaning step โ removing an invalid value, filtering out a category you don't care about, sorting it. Pick one real cleaning step relevant to your data.
This is the cell that answers your Step 2 question directly โ not a step toward the answer, the answer itself.
If you notice a cell both filtering and computing, split it into two. This is the single habit real notebook work depends on โ one idea per cell makes a notebook readable and debuggable; a cell doing three things at once is where notebooks quietly turn into a mess.
Click ๐พ Save This Notebook as a Project and give it a specific title (e.g. "Practice โ Score Average"), not something generic.
Building on Lab 1: you broke one question into a few cells. Now run a fuller exploratory data analysis pass โ including the step beginners skip: noticing what's odd in the data before you touch it.
Start a new notebook โ this lab is about the shape of a fuller EDA pass, not extending Lab 1's exact dataset.
Deliberately write a dataset with at least one issue baked in โ a missing/invalid value, an outlier, an unexpected category. Real data always has something like this; practicing on data you know is messy, on purpose, builds the habit faster than hoping you stumble onto messy real data by accident.
Same as Lab 1 โ commit to a specific question about this dataset before doing anything else.
No filtering, no computing yet โ just print it and look.
This is the step beginners skip and experienced analysts never do. Write it as a comment or a console.log of your observation โ don't fix anything yet, just name what you see.
Now act on your Step 4 observations, deliberately and visibly.
Not just one โ build a fuller picture. Average alone hides a lot; pair it with something like a min/max spread or a count above/below a threshold.
Not more code โ a comment or a console.log written as a sentence, answering your original Step 2 question directly, in language a non-technical reader would understand.
Give it a title reflecting the fuller pass, e.g. "EDA Pass โ Class Scores."
Building on Labs 1โ2: turn a working analysis into something you could hand to someone who wasn't in the room while you built it โ narrative, story order, comments, and an honestly-named limitation.
This lab is an editing and communication pass as much as an analysis pass โ you're turning working code into a readable story.
Either works โ what matters is that you end this lab with one complete, presentable notebook, not several partial ones.
What question you're answering and why it matters โ written as if for someone who has zero context on why this analysis exists.
Even if that's not the order you actually wrote them in. Real analysis is messy and non-linear while you're doing it โ presenting it should not be.
To reorder, delete a cell and re-add it in its correct position โ the tool has no drag-to-reorder, so this is a deliberate rebuild, not a shuffle.
Explaining what it does and why, as if handing this notebook to a teammate who will run it without you in the room to answer questions.
State your conclusion plainly, then name a real weakness in your own analysis โ small sample size, one outlier skewing things, a filtering choice someone could reasonably disagree with. Don't invent a token limitation; name the one that would actually worry you if someone pushed back on this analysis.
Fix anything confusing. If you have to stop and think "wait, why did I do this step," that's a sign the comment above it isn't doing its job โ rewrite it.
As your final project for this tool โ give it a title that reflects the finished, presentable state, e.g. "Quiz Scores โ Term Comparison (Final)."