Peer Plot Lab

Adjust the public radial violin plot directly in the browser.

This is the browser-hosted version of the local peer violin prototype. It uses the public AXP factor-score peer export, keeps the same main geometry controls, and lets collaborators tune the visual without needing the private app repo or a local Shiny runtime.

What this page is for

  • Use it as a public tuning surface for the radial violin peer plot before touching the production survey app.
  • Share one stable URL with collaborators so they can adjust the same parameters and discuss the same visual.
  • Keep the plotting logic public and browser-native while the survey app and its runtime code remain in the private repo.

Radial peer violin

Matched peer distributions are drawn as spoke-local violins using the same default tuning now used in the app. The purple path is the selected participant reference profile.

Source and scope

  • This page uses the public AXP legacy 2022 factor-score peer export, grouped into the canonical induction and dose buckets used by the feedback plot.
  • The production feedback controls expose only canonical buckets: cannabis, psilocybin, alcohol, MDMA, and low, medium, high. Raw Other-style labels or uncommon cache rows can remain in data examples, but they should not become participant-facing filter choices.
  • The hosted lab is for visual tuning and collaborator discussion. It does not replace the production survey app or the final in-app implementation work.
  • The geometry and summaries mirror the current in-app defaults closely, but the renderer here is plain browser JavaScript so it can run on GitHub Pages.