Skip to main content

Vesora — ten lenses, one shared scientific visualization engine

Find the event. Inspect the sample. Share the observation.
Scientific visualization for Python, JavaScript and React.
WebGL2 · MIT · Zero runtime npm dependencies in the core

Explore the charts · Run the tour · Quickstart · Workflows · Documentation

Join the Discord community · Follow @UEdizaslan on X

Selected synthetic analysis figures exported by Vesora: distributions, spectra, fields, trade-offs, trajectories and compositions

Vesora connects a live measurement to the data behind the view. Freeze an interesting event while acquisition continues, inspect original samples across linked panels, and share an interactive HTML file containing the observation and its source values. Python notebooks, Qt desktop windows, browser applications and React use the same TypeScript/WebGL2 engine.

Version 1.0 adds ten analysis families for the questions a line chart leaves open: how heavy is the tail, when did the spectrum change, which alternatives survive a trade-off, and does the response depend on the path taken?

Ten charts, ten questions

Every image below is an actual Vesora export from a deterministic synthetic example. Click an image to inspect it at full resolution. The guided tour explains the same examples interactively; Türkçe grafik rehberi explains when to use each one.

01 · ECDF / CCDF

ECDF of 1,200 synthetic request latencies with an observed p99 guide

How many requests meet the deadline?
Find slow requests hidden by a healthy-looking average. Read the fraction at or below a threshold, then inspect the remaining tail and nearest-rank percentiles.

ecdf · ccdf · queryECDF

02 · Live spectrogram

Time-frequency power matrix revealing changing frequency content over a retained window

When did the frequency content change?
Inspect supplied vibration, acoustic or instrument spectra. Follow a moving band or a brief burst while appended rows retain a bounded time window.

spectrogram · appendRows

03 · Event timeline

Rollout and recovery intervals with instantaneous checkpoints on five named lanes

What was happening around the anomaly?
Place a canary rollout, validation and recovery log on one time axis. Compare overlapping work, interruptions and checkpoints with the signal you are investigating.

eventTimeline

04 · Asymmetric error bars

Nominal measurement values with explicitly supplied asymmetric uncertainty bounds

How much of the difference survives the bounds?
Compare calibration points, repeated measurements or supplied uncertainty intervals. Inspect the nominal value and its actual lower and upper endpoints together.

errorbar

05 · Contour / filled contour

Board temperature field with filled five-degree bands around two synthetic heat sources

Where are the hot spots and narrow operating regions?
Explore sampled temperature, pressure or objective grids. Equal-value lines make ridges, basins and gradients easier to follow; filled bands reveal regions between levels.

contour · contourf

06 · Quiver

Supplied two-dimensional vectors showing local direction and magnitude

Which way does the field move?
Inspect supplied flow, force or gradient vectors. Arrow direction exposes local changes; explicit scaling and optional normalization control how magnitude is represented.

quiver

07 · Parallel coordinates

The same candidate observations connected across multiple named measurement axes

Which candidates satisfy several constraints?
Compare training configurations across learning rate, batch size, loss, latency and memory. Brush dimensions in their original units and follow the same candidate IDs across views.

parallelCoordinates

08 · Pareto frontier

Two-objective alternatives with nondominated candidates distinguished from dominated ones

Which alternatives remain worth considering?
Compare inference cost against quality with explicit min/max objectives. Frontier points survive because no other candidate is at least as good on both objectives and better on one.

paretoFront

09 · Phase portrait / hysteresis

Lagged current-versus-voltage response retaining acquisition direction around its loop

Does the response depend on how you got here?
Inspect loading/unloading sweeps, control response or paired state variables. Acquisition order and direction preserve loops and distinct responses at the same input.

phasePortrait · hysteresis

10 · Ternary composition

Resin, hardener and filler formulations inside a labeled triangular composition view

How does a three-part recipe change?
Compare mixtures, material compositions or three-way allocations. Corners represent single components; edges and interior points reveal the balance between all three.

ternary

Existing line, interval-band, scatter, heatmap, histogram, bar, boxplot, surface, 3D line and 3D scatter APIs remain available, including mixed 2D/3D panels. Full analysis API and Python names →

Try the guided tour

From this checkout, with Node.js 22.12+ and a WebGL2-capable browser:

npm ci
npm run build
npm run demo:react

Open the Vite URL and append ?demo=tour. Choose a chart, read the question it answers, and inspect its samples. Deep links such as ?demo=tour&chart=pareto open a specific example.

For the plain browser version, run npm run demo and open the standalone tour. The original scientific gallery and all-ten panel gallery are also available. All demo data is synthetic.

Three complete analysis workflows

Open the React URL with ?demo=v1 to try workflows that connect several views:

Workspace A concrete job it helps you finish
Signal + events Match a waveform change to a spectrum and event window, freeze the displayed observation, and inspect it while acquisition continues.
Run comparison Align runs to explicit event offsets, compare matching source values and inspect the difference panel. The comparison helper also returns residuals, ratios and sample lineage.
Cohort exploration Select candidates across scatter, ECDF, parallel and Pareto views; follow their stable IDs into a paginated table with complete membership queries.

Studio provides inspection and export controls. Embed fits the same viewer into an application-owned card. Both retain the distinction between latest accepted data and the completed displayed frame. Workflow contracts · Runnable workspace source

Start with your language

Python

import vesora as vs

samples = [12, 14, 14, 28, 90]
fig = vs.figure(title="Request latency")
latency = fig.ecdf(samples, label="Latency")
latency.set_semantics({"samples": {"quantity": "duration", "unit": "ms"}})
fig.set_axes(xlabel="Latency (ms)", ylabel="Fraction at or below")
print(vs.query_ecdf(samples, probability=0.99, threshold=30))
fig.save_html("latency.html", observation=True)
fig.show()  # Jupyter widget or Qt desktop window.

# When you have finished with this figure: fig.close()

Python 3.10+; lists and numeric buffers work directly, and NumPy is optional. The notebook extra adds widget support. Python guide · Executable ten-family example

JavaScript / TypeScript

Provide <div id="chart" style="height:420px"></div> in your page, then use a browser bundler:

import {figure, toHTMLAsync} from '@vesora/core/runtime';
import {mountViewer} from '@vesora/core/viewer';

const fig = figure({title: 'Request latency', height: 420});
fig.ccdf([12, 14, 14, 28, 90], {label: 'Latency tail'});
fig.setView({xLabel: 'Latency (ms)', yLabel: 'Fraction above'});
const viewer = mountViewer(fig, document.getElementById('chart'), {
  mode: 'studio', exportSource: 'displayed', observation: true,
});
await fig.ready();

// Capture from your application's export action.
const html = await toHTMLAsync(fig, {source: 'displayed', observation: true});

// Call when the owning screen is removed.
function dispose() { viewer.dispose(); fig.close(); }

The lightweight runtime loads the HTML export template on demand. The compatibility root entry also supplies synchronous toHTML. JavaScript guide · Core API

React

VesoraViewer hosts every analysis family and borrows the Figure from your application:

'use client';
import {useEffect, useState} from 'react';
import {figure, type Figure} from '@vesora/core/runtime';
import {VesoraViewer} from '@vesora/react/viewer';

export function LatencyCard() {
  const [current, setCurrent] = useState<Figure | null>(null);
  useEffect(() => {
    const fig = figure({title: 'Latency distribution', height: 360});
    fig.ecdf([12, 14, 14, 28, 90]);
    setCurrent(fig);
    return () => fig.close();
  }, []);
  return current ? <VesoraViewer figure={current} mode="embed" /> : null;
}

For declarative line, bar and scatter cards, use VesoraChart with themes, formatting, legends, tooltips and loading states. React 18.3 and 19 are supported peer ranges. React API · Runnable React example

Install Vesora 1.0.0

The release targets vesora on PyPI and @vesora/core / @vesora/react on npm. Use the matching versions together:

python -m pip install vesora==1.0.0
# For Jupyter notebooks:
python -m pip install "vesora[notebook]==1.0.0"

npm install @vesora/core@1.0.0
# For React applications:
npm install @vesora/core@1.0.0 @vesora/react@1.0.0 react react-dom

Check the GitHub release for publication status and downloadable archives. To build local review archives from this checkout:

npm run build
python -m pip install "setuptools>=77" wheel
npm run package:release -- --candidate

The output is dist/release-v1.0.0/. These install commands use paths relative to the repository root; another application can point to the same archive files:

npm install ./dist/release-v1.0.0/vesora-core-1.0.0.tgz ./dist/release-v1.0.0/vesora-react-1.0.0.tgz react react-dom
python -m pip install ./dist/release-v1.0.0/vesora-1.0.0-py3-none-any.whl

The Python wheel includes matching renderer and desktop assets. For widgets, install the wheel with its notebook extra. Packaging and release status

Keep the data behind the view

A portable observation connects source values, declared units, source versions and the retained stream interval. Freeze holds an independent displayed observation while new data can still be accepted. PNG captures the image; self-contained HTML includes the values and matching interactive runtime.

Capture What you share
accepted The latest accepted scene and retained values; the representation is explicitly unevaluated.
displayed The last completed frame and its matching values, including a frozen inspection.

Offline HTML opens without Python or an asset server. It contains the retained snapshot; producers, application callbacks and evicted history remain outside it. Observation guide · Streaming guide

Measured, with the workload attached

The recorded local verify:next run passed in 45.528 seconds, including build, packaging, browser/offline checks and the exact wheel's real Qt/Jupyter workflows. Dependency installation is outside that duration. Repeat the bounded automatic check with:

npm run verify:next

It has one 600-second wall-clock budget, fails missing required hosts or timeouts, and writes its reports to artifacts/v1-verification/. Recorded verification and scope

Short fixed Windows Chromium/WebGL2 probes with configured ANGLE recorded:

Workload Recorded result
500,000-point 3D scatter, first cold pick 25.5 ms
Same size, cold pick after camera rotation 24.4 ms
Three retained 100,000-row lines; 32 atomic batches of 100 rows 16.2 ms p95 / 31.0 ms p99 append-to-completed-frame

These are short local workloads, with frame completion distinct from physical display time. Conditions, archive identity and results accompany the measurements; long-duration endurance and human accessibility evaluation are separate evidence.

Use Vesora with an agent

The portable Vesora skill includes Python, JavaScript and React instructions, executable examples, and lifecycle, streaming and export contracts. An agent with repository access can read it directly, or you can copy skills/vesora into your agent's skill directory. llms.txt is the compact documentation entry point.

Scientific scope

Spectrograms display supplied time × frequency values with a regular time cadence; FFT preparation belongs to your analysis pipeline. Error bars display supplied bounds. Contours interpolate a regular scalar grid, Pareto compares two explicit objectives, and ternary normalization is opt-in. Units and external transform descriptions are declarations; they do not execute conversions or certify numerical accuracy.

Generic streaming covers numeric 2D line/scatter, with a separate bounded-row spectrogram API. Parallel and ternary views occupy dedicated 2D projection panels. SVG/PDF export, WebGPU, arbitrary mesh/volume rendering and a persistent full-history recorder remain outside this implementation.

Find the details

Analysis API · Core API · React API · Architecture · Image provenance · Release notes · MIT license

Metadata

Release files for vesora 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for vesora 1.0.0
File Interpreter ABI Platform Actions
vesora-1.0.0-py3-none-any.whl Python 3 none any Details for vesora-1.0.0-py3-none-any.whl

Release files / vesora-1.0.0-py3-none-any.whl

Download URL vesora-1.0.0-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
21295f7e0c79809934b89170d3e54365aa3008c36478dac2d1e58cc63f61166c
BLAKE2b-256 checksum
How to use checksums
37379bb150637ba420dd47de036f666f63a4c3f4cf85dcb5845441313c7dfb98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for vesora 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page