# Kestrelwick Tally

> A seeded census of three hundred fictional villagers as a unit chart — seven questions rearrange the dots between a phyllotaxis cluster, a pyramid, occupation groups and a lane map.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Interactive 3D](https://www.sandbase.ai/skills/interactive-3d)
- Version: 0.1.2
- Runs online: yes
- Page: https://www.sandbase.ai/skills/interactive-3d/kestrelwick-tally

## What you get

Bring a village census and the questions to ask it. The Skill returns a downloadable Skill and a runnable tally.

## Install

Download the Skill package from https://www.sandbase.ai/skills/interactive-3d/kestrelwick-tally (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

```text
/kestrelwick-tally census <your village> as a rearranging unit chart
```

## How it works

1. **Seed the village census** Kestrelwick Tally builds a census from a brief in assets/briefs: the English kestrelwick-en for Kestrelwick-under-Tor or the Chinese kestrelwick-zh. makeVillage(seed, brief) generates exactly 300 fictional villagers with households, ages, arrival years, occupations, a 34-voice choir and best-friend links. A prompt such as 'Use kestrelwick-tally to census a fishing hamlet as a rearranging unit chart' sets the theme.
2. **Ask questions to rearrange dots** Seven plain-language questions move the same dots between a phyllotaxis household cluster, a population pyramid, occupation groups, a lane map, an arrival-year beeswarm, choir risers with an audience and a friendship ring. Each dot flies on its own quadratic Bezier with a household-ordered delay and an under-damped spring. Hover meets a person, click pins them, search fades non-matches and re-roll draws a new village.
3. **Build and assert the census** npm run build writes dist/index.html and npm run build:zh builds the Chinese brief; the page runs fully offline. npm run shoot passes 13 assertions: 300 people in 113 households over 6 lanes, a deterministic census for one seed, seven distinct layouts, 176 mutual and 124 unrequited ring links, 296 dots mid-flight during a transition and zero external requests.

## FAQ

### What does Kestrelwick Tally visualise?

Kestrelwick Tally visualises one fictional parish census as a unit chart of 300 dots, each a named person in a household on a lane. Asking a question rearranges all of them into a new chart while the headline number counts up or down. It suits teaching unit charts and showing how one dataset answers several questions.

### Is the Kestrelwick Tally village real data?

No. Kestrelwick Tally generates a seeded fictional parish with invented names, lanes and stories, such as a bell-ringer and two rival bakers. The same seed always gives the same census, and re-roll creates a new village from a new seed.

### Do the Kestrelwick Tally charts always add up?

Yes. Kestrelwick Tally draws the same 300 villagers in all seven views, so each chart sums to the whole parish. The check confirms roles of 75 children, 135 adults and 90 elders, and a choir of 34 above a grey audience.

### Can I put my own village into Kestrelwick Tally?

Yes. Kestrelwick Tally reads a brief with title, seed, six streets and per-lane household quotas in streetN, choir voices, name and surname lists, and seven views with question, count, sub and insight. The count, sub and insight fields are arrow-function source strings the page compiles.

### Does Kestrelwick Tally cost anything or need a key?

No. Kestrelwick Tally generates its census with a seeded generator in the page and records zero external requests, so no model or paid API is involved. You only need npm to build it and a static server such as python3 -m http.server to view dist/.

### Does Kestrelwick Tally respect reduced motion?

Yes. Kestrelwick Tally switches to a cross-fade between layouts when reduced motion is requested, instead of flying every dot along its Bezier path. Hover, pin and search work the same either way.

## Examples

- Kestrelwick Tally (scene)
- The Village Tally (video)
