Salmon UI Data Visualization documentation
Every page below embeds live demos; each demo also has a standalone route.
Browse all Data Visualization demos
Foundation
- Rendering and colors
Server-rendered SVG with deterministic layout, decimation for large data, the opt-in canvas plot layer and the visualization palette derived from the five theme seeds.
- Size, animation and RTL
CSS-driven size with onResize, the entrance and update transitions, right-to-left pages, the Sparkline and HeatMap canvas renderers, JSX children forms and the data-color contrast check across the visualization families.
- Diagram
A diagram editor is not included in Salmon UI. What it would cover, why it is not included, and what to use for hierarchies and flows instead.
Barcodes
- Barcode
Zero-dependency 1D barcodes (Code 39, Code 11, Codabar, Code 32, Code 93, Code 128, GS1-128, EAN, UPC, ITF-14) and Data Matrix as one SVG path, with text, bearer bars, colors, invalid-value handling and image export.
- QRCode
A zero-dependency QR Code encoder and SVG component with automatic modes and versions 1 to 40, the four error correction levels, mask selection, GS1 element strings and a logo in a cleared center.
- Data Matrix
Data Matrix as Barcode type="dataMatrix": ECC200 with ASCII, ASCII-numeric and Base256 encodation, every square and rectangular size and GS1 element strings.
- GS1 DataBar
Gs1DataBar from @salmonui/charts/barcode/gs1-databar: Omnidirectional, Truncated, Stacked, Stacked Omnidirectional, Limited, Expanded and Expanded Stacked with segmentsPerRow.
- PDF417
Pdf417 from @salmonui/charts/barcode/pdf417: Text, Numeric and Byte compaction, error correction levels 0 to 8, columns, rows, Compact PDF417 and the row height ratio.
- DotCode
DotCode from @salmonui/charts/barcode/dotcode: automatic or column-driven symbol size, GS1 element strings, Reed-Solomon error correction and automatic mask selection.
Charts
- Chart
One Chart component with a series collection covering line, area, column, bar, scatter, bubble, financial, waterfall, histogram, box plot and Pareto series, with curves, stacks and data colors.
- Chart axes
Linear, logarithmic, time, category and time-category axes with nice ticks, calendar-aware time ticks, ranges, multiple axes, label overlap strategies, edge labels and zoom ranges.
- Chart interaction
Tooltips, trackball, rectangle and wheel zoom, pan, point selection and the instance API, all driven by a per-chart store instead of React state.
- Chart elements
Titles, the legend toolbar with toggling and paging, data labels, last-value badges, inline series labels and annotations.
- Chart analysis
Trendlines (linear, exponential, logarithmic, polynomial, power, moving average) with forecasts, technical indicators in panes, and empty-point handling.
- BulletChart
A bullet chart preset over Chart with a feature bar per item, qualitative bands, one or more targets, both orientations and value labels.
- StockChart
A financial chart composed of Chart, RangeSelector, PeriodSelector and a toolbar with series type, indicator, trendline and export menus, with large OHLC data bucketed per pixel.
Gauges
- Gauge
Circular gauges with several axes, ticks, labels, tapered ranges, needle, bar and marker pointers, annotations, a range legend, tooltips, pointer transitions, and draggable pointers and ranges that follow the slider pattern.
- Linear gauge
Linear gauges as Gauge shape="linear": horizontal or vertical axes, reversed axes, normal, rounded and thermometer containers, bar and marker pointers with placement, ranges and annotations.
Maps
- GeoMap
Maps from your own GeoJSON with eight projections, base and overlay layers, data joins and color scales, a legend, tooltips, shape selection, zoom and pan, keyboard navigation and an accessible table.
- Map overlays and tiles
GeoMap markers with shapes, size and color fields, clustering with zoom or spider expansion and dragging, bubbles, data labels, curved routes with arrows, polygons, a generic XYZ tile layer with attribution, annotations and coordinate conversion.
Data Visualization
- Sparkline
Tiny line, area, column and win-loss charts from @salmonui/charts/sparkline, server-rendered as static SVG and cheap enough for hundreds of Data Grid cells.
- PieChart
Pie, doughnut, semi pie and concentric ring charts from @salmonui/charts/pie-chart with explosion, grouping, smart labels, a legend toolbar, selection, tooltips and keyboard navigation.
- FunnelChart
Funnel and pyramid charts from @salmonui/charts/pie-chart with neck size, a trapezoidal variant, gaps, linear or area pyramids and the shared legend, selection, tooltip and keyboard model.
- HeatMap
Heat maps from @salmonui/charts/heat-map with category, numeric and time axes, label groups, gradient and step color scales, bubbles, legends, selection, tooltips and a canvas renderer for a million cells.
- TreeMap
Tree maps from @salmonui/charts/tree-map with grouped or hierarchical data, squarified and slice-and-dice layouts, headers, leaf labels, color scales, drill-down with breadcrumbs, selection and tree keyboard navigation.
- SankeyChart
Sankey flow diagrams from @salmonui/charts/sankey-chart with horizontal or vertical layout, node and link colors, gradient links, labels, a node legend, adjacent highlight, tooltips and node and flow keyboard navigation.
Range selection
- RangeSelector
A two-thumb range slider over a mini series with time, linear and log scales, grouped labels, snapping, tooltips, period buttons and a form bridge; PeriodSelector on its own.
Kanban
- Kanban
Kanban renders cards in columns keyed by a card field, with multi-key columns, swimlanes, WIP limits, collapsible and stacked column headers, card fields or templates, selection, sorting, filtering, tooltips and card events.
- Kanban drag and drop
Pointer, touch and keyboard card drag within and between columns and swimlanes, per-column drag rules, column reorder, drops between boards of one drag group and drops on external elements.
- Kanban editing and data
The card editor with field lists, validation and a custom form, add buttons, the editing triad, onCardChange for every write, plain arrays versus @salmonui/data sources with optimistic writes, loading and error states.
- Kanban performance and mobile layout
Per-column card virtualization with measured variable heights, what stays out of React state, bundle and timing budgets, and the container-query layout that shows one column at a time on narrow boards.
- Kanban accessibility, RTL and localization
The Kanban keyboard model with one tab stop, the grid roles that name each card's column and lane, live announcements, inherited right-to-left direction and localeText for every built-in string.