# Read the overview

URL: https://docs.analytics.remcostoeten.nl/docs/tutorial/read-the-overview

> Step 3 of 7. Read visitors, sessions, pageviews, bounce rate and session duration with @spoar/client and show them as tiles.

This step reads data back. `@spoar/client` gives one scope per project; links such as `period` and `traffic` narrow it, and a read method at the end sends the request.

## 1. Read the stats

<StepDiff
  step="3"
  notes="[
  {
    file: &#x22;src/api.ts&#x22;,
    match: &#x22;return api.project(settings.project)&#x22;,
    text: &#x22;The scope over one project. Every read in this tutorial starts here.&#x22;,
  },
  {
    file: &#x22;src/use-read.ts&#x22;,
    match: &#x22;if (result.ok)&#x22;,
    text: &#x22;Reads return a Result instead of throwing: ok with a value, or not ok with a ClientError that has a code and a message.&#x22;,
  },
  {
    file: &#x22;src/use-read.ts&#x22;,
    match: &#x22;if (!current) return;&#x22;,
    text: &#x22;A response for an older key arrives after a newer one was requested, so it is dropped.&#x22;,
  },
  {
    file: &#x22;src/components/stats-tiles.tsx&#x22;,
    match: &#x22;scope.stats()&#x22;,
    text: &#x22;One request for all five numbers, each with its change against the period before.&#x22;,
  },
  {
    file: &#x22;src/app.tsx&#x22;,
    match: 'project.period(&#x22;7d&#x22;).traffic(&#x22;human&#x22;)',
    text: &#x22;Links return a new scope and leave the old one as it was. human() and traffic(\&#x22;human\&#x22;) leave out traffic scored as bots.&#x22;,
  },
]"
/>

`ReadFrame` gives every panel the same four states: a skeleton while the first read loads, an error with a retry button, an empty message, and the data.

## 2. What the read returns

The same read against this site's own project:



Each metric has a `value` and a `change`, the ratio against the previous period of the same length. `change` is `null` when that period had nothing to compare with, and the tile shows "new".

A `period` such as `7d` ends at the start of today in UTC, so today's visits are not counted yet. Use `between(from, to)` to read up to now. [Read client](https://docs.analytics.remcostoeten.nl/docs/sdk/read-client.md) lists every link and read.

Next, [chart visitors](https://docs.analytics.remcostoeten.nl/docs/tutorial/chart-visitors.md).
