Case study 22 / 25Data Viz
A config-generated live process diagram for pipeline operations
On the longest line, operators scan a quarter of the rows, on a live diagram instead of a table of numbers, with 0 API requests added.
My roleDesigned it and led a team of up to 3: set its standards, mentored it, agreed the roadmap with operations and the client, presented to leadership.
Stack
- TypeScript
- React
- Next.js
- Node.js
- SVG
- CSS animations
- ECharts
01 · How it works
- TodaytoChanged in this work
- Data flow
What it does
I built a real-time process diagram for the operations panel of the monitoring platform, generated from each system's configuration file. Each station and section shows its state as a word and a color first, then a number with a plain unit, with the engineering values one tap away.
Read more
It is designed for operators, who need to know in seconds whether their line is healthy and, if not, where.
5 connections· select a part to trace it
- System config file to Topology importer: read once, secrets stripped
- Topology importer to Backend API: versioned topology
- Upstream model API to Backend API: polled as before, 0 added
- Backend API to State rules: topology + current values
- State rules to Real-time SVG diagram: word, color, then number
02Results
- R01Lower is better
Rows to scan on the longest system (% of the old table)
Before 100%, after 25%, 4× lower. Lower is better.BeforeAfter - R02Lower is better
Diagram library in the bundle (licensed vs own SVG)
Before 1.06 MB, after 0 MB, eliminated. Lower is better.BeforeAfter
What it achieved
- What an operator scans to find a problem on the longest system: one row per section, number by number → about a quarter as many, with the state as a word and a color first
- Each system: a table of numbers → a live diagram generated from its config, with a fallback built from section names
Read more
- Reading state: number by number → a word and a color first, backed by 36 tests on real readings
- Upstream API load: none allowed → 0 requests added
- Rollout: one view → old and new side by side, with a toggle remembered per user and system
03Decisions and trade-offs
- Constraint
Polling already ran slightly over the API's rate limit.
DecisionBuild the diagram from data the panel already receives: 0 requests added.
What it costThe diagram shows only what the panel already receives.
- Constraint
A commercial diagramming library was heavy, licensed per domain and outside the app's theme.
DecisionDraw our own SVG from each system's configuration.
What it costNo automatic layout: stations need known positions, which a line already has.
- Constraint
Some values misled: head labeled as bar, and flow copied from another meter shown as measured.
DecisionValidate values from first principles before any of them carries a color.
What it costOnly values that passed carry a color.
The challenge
The operations panel was a table of everything the upstream model publishes, so on the longest system an operator read one row per section, number by number, to find the one that mattered. Some values misled: one view labeled head as bar, and on one system two-thirds of the stations displayed flow copied from a meter elsewhere as if it were measured.
Read more
Any new view had to cost the API nothing, because polling already ran slightly over its rate limit. A commercial diagramming library was under consideration, but it was heavy, licensed per domain and rendered outside the application's theme.
What I learned
Validate the data before you color it: head loss per unit length matched the head difference over distance within 0.5%, which established which values could safely carry a color.
Read more
Gray means normal, so color keeps its meaning and appears only where attention is needed. Keeping the old view one toggle away, remembered per user and system, made adoption safe for operators.
Stack
- TypeScript
- React
- Next.js
- Node.js
- SVG
- CSS animations
- ECharts
Skills
- Information design
- Data visualization
- Config-driven UI
- Engineering data validation
- Incremental rollout

