# Salmon UI Data Visualization documentation

> Guides with live demos for the Data Visualization components.

Canonical: https://salmonui.dev/docs/data-visualization

## Foundation

- [Rendering and colors](https://salmonui.dev/docs/data-visualization/rendering-and-colors.md): 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](https://salmonui.dev/docs/data-visualization/size-animation-rtl.md): 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](https://salmonui.dev/docs/data-visualization/diagram.md): 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](https://salmonui.dev/docs/data-visualization/barcode.md): 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](https://salmonui.dev/docs/data-visualization/qr-code.md): 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](https://salmonui.dev/docs/data-visualization/data-matrix.md): 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](https://salmonui.dev/docs/data-visualization/gs1-databar.md): Gs1DataBar from @salmonui/charts/barcode/gs1-databar: Omnidirectional, Truncated, Stacked, Stacked Omnidirectional, Limited, Expanded and Expanded Stacked with segmentsPerRow.
- [PDF417](https://salmonui.dev/docs/data-visualization/pdf417.md): 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](https://salmonui.dev/docs/data-visualization/dotcode.md): 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](https://salmonui.dev/docs/data-visualization/chart.md): 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](https://salmonui.dev/docs/data-visualization/chart-axes.md): 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](https://salmonui.dev/docs/data-visualization/chart-interaction.md): 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](https://salmonui.dev/docs/data-visualization/chart-elements.md): Titles, the legend toolbar with toggling and paging, data labels, last-value badges, inline series labels and annotations.
- [Chart analysis](https://salmonui.dev/docs/data-visualization/chart-analysis.md): Trendlines (linear, exponential, logarithmic, polynomial, power, moving average) with forecasts, technical indicators in panes, and empty-point handling.
- [BulletChart](https://salmonui.dev/docs/data-visualization/bullet-chart.md): A bullet chart preset over Chart with a feature bar per item, qualitative bands, one or more targets, both orientations and value labels.
- [StockChart](https://salmonui.dev/docs/data-visualization/stock-chart.md): 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](https://salmonui.dev/docs/data-visualization/gauge.md): 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](https://salmonui.dev/docs/data-visualization/linear-gauge.md): 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](https://salmonui.dev/docs/data-visualization/geo-map.md): 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](https://salmonui.dev/docs/data-visualization/geo-map-overlays.md): 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](https://salmonui.dev/docs/data-visualization/sparkline.md): 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](https://salmonui.dev/docs/data-visualization/pie-chart.md): 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](https://salmonui.dev/docs/data-visualization/funnel-chart.md): 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](https://salmonui.dev/docs/data-visualization/heat-map.md): 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](https://salmonui.dev/docs/data-visualization/tree-map.md): 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](https://salmonui.dev/docs/data-visualization/sankey-chart.md): 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](https://salmonui.dev/docs/data-visualization/range-selector.md): 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](https://salmonui.dev/docs/data-visualization/kanban.md): 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](https://salmonui.dev/docs/data-visualization/kanban-drag-drop.md): 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](https://salmonui.dev/docs/data-visualization/kanban-editing.md): 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](https://salmonui.dev/docs/data-visualization/kanban-performance.md): 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](https://salmonui.dev/docs/data-visualization/kanban-accessibility.md): 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.
