Skip to content

v0.2.9: full per-point rankings in the viewer

Choose a tag to compare

@avalonreset avalonreset released this 19 Nov 20:31
· 25 commits to main since this release

Embeddable report viewer 0.2.9: every captured ranking

  • Location tab: pick a point and see who ranks there. The top 20 are listed first, with a "Show all N" control when more were captured. The primary business is pinned at its actual rank when that is beyond 20 (for example 37).
  • Competitors tab: every other business seen across the grid, with appearances, share of points and average rank, most frequent first. Select one to highlight where it ranks on the map.
  • Competitors are identified by an opaque string key you choose, with a display name and optional rating, review count and category. Keys are never parsed or treated as listing ids.
  • Scores stay anchored to the top 20 (study.score_window, or precomputed lanes[].scores), so scans captured at different depths compare the same way.
  • mount() on a full study now returns { destroy(), selectPoint(tag) }.
  • Additive: studies that omit the new fields open exactly as in 0.2.8, and the local app is unchanged apart from the two new tabs.
  • Docs: docs/viewer-model.md (section "Full study with every ranking"), docs/geogrid-companion-v1.schema.json, and a depth-100 example in examples/viewer-companion-depth100-fixture.json.

The asset geogrid-viewer-0.2.9.tgz holds the script, stylesheet, worker, docs, schemas and fixtures. Verify it with SHA256SUMS. No Content Security Policy change is needed since 0.2.8.