Research dashboard · Edition 2

Work with data

Render a small synthetic dataset accurately.

Before you begin

Basic JavaScript objects or arrays, and an HTML table with headers.

The practical problem

A fictional research workshop collected counts of completed practice surveys by group. Use North 7, South 14, East 9, West 10 and Central 12. These are made-up data, not patient records or evidence of a clinical outcome.

Build it step by step

  1. Write the five synthetic rows with clear group and count fields.
  2. Render a captioned table and calculate the total from the data. Add one sentence interpreting what the total counts.
  3. Change North from 7 to 9. Rerun and check both the corresponding row and the total change.

Acceptance criteria

  • Original total is 52; after changing North it is 54.
  • Every column label states what the value means.
  • The summary makes no claims about causes, clinical quality or individuals.

Common mistake

A manually typed total can fall out of sync. A group count also does not provide enough evidence to compare completion rates.

How to assess your work

Run the checks below and write down what you expected, what happened, and one change you can demonstrate. Self-checks are practice evidence, not a verified grade.

Build

Create a table of five fictional records with a number and a category. Calculate a total and write one sentence explaining it.

Test

Add the values independently, then change one row and recalculate. Check that the labels stay meaningful at 320px.

Reflect

Which assumptions matter before someone acts on your totals?

Starter project and AI hint

Use these fictional counts: North 7, South 14, East 9, West 10, Central 12. Summarise the total without making a clinical claim.

Ask why a total and an average answer different questions. Check the arithmetic yourself.