Sparkline
A Sparkline in REAVIZ is a small, condensed, and simplified line chart that provides a snapshot of data trends within a compact space, without axes or labels. It is designed for quick and immediate comprehension of data trends, making it ideal for presenting patterns and changes at a glance within limited space.
Types supported in reaviz:
- Line - Displays data trends as a simple line.
- Area - Similar to a line sparkline but with the area under the line filled.
- Bar - Displays data trends as a series of bars.
- Sonar - A unique representation often used for tracking and sonar-like visualizations.
Where to use:
- Concise Data Visualization: Ideal for displaying data trends in a compact space.
- Quick Trend Comprehension: Useful for providing immediate insight into data trends without specific data points or labels.
- Minimalist Design: Great for incorporating into text, tables, or dashboards where space is limited.
Quick Start
To create a Sparkline, import the chart of your choice SparklineChart, AreaSparklineChart, BarSparklineChart or SonarChart and
provide th data. The chart will automatically configure itself with the default options exposed via props.
Examples
Line
Area
Bar
Sonar
API
Sparkline ChartΒ
Sonar ChartΒ
BarSparkline ChartΒ
AreaSparkline ChartΒ
Last updated on