vistral

Build React streaming data visualizations with @timeplus/vistral chart components.

63|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/timeplus-io/vistral --skill vistral
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vistral
Source: https://github.com/timeplus-io/vistral/tree/main/agentskill
Command: npx skills add https://github.com/timeplus-io/vistral --skill vistral

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you build real-time React data visualizations with @timeplus/vistral without getting stuck on API choice, chart specification structure, streaming update patterns, or common integration mistakes.

Core Features & Use Cases

  • Grammar API guidance: Create expressive streaming charts with VistralChart and VistralSpec for line, area, interval, point, text, and other mark types.
  • Streaming data patterns: Configure temporal modes, append or replace live data through ChartHandle, and avoid React 18 Strict Mode duplication issues when seeding history.
  • Theme and configuration support: Register custom themes, format axes and tooltips, use g2Overrides for advanced behavior, and fall back to the Config API for quick chart setup.
  • Use cases: Build operational dashboards, live metrics panels, time-series monitoring views, entity-latest status charts, and other streaming analytics experiences in React apps.

Quick Start

Use the vistral skill to generate a React VistralChart with a VistralSpec for a dark-themed live time-series chart that appends streaming rows every second.

Frequently Asked Questions about vistral

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build live React charts for streaming data?

To build live React charts for streaming data, use VistralChart and VistralSpec to define expressive streaming visualizations via a Grammar API. This approach supports line, area, interval, point, and text mark types for real-time dashboards.

What's the best way to append real-time data to a React dashboard chart?

The best way to append real-time data to a React dashboard chart is by using a React ref-based ChartHandle. This pattern allows you to configure temporal modes and dynamically append or replace live data rows without triggering unnecessary React re-renders.

Why does my streaming chart duplicate history data in React 18 Strict Mode?

Your streaming chart duplicates history data in React 18 Strict Mode due to improper history seeding during the double-rendering lifecycle. You need to implement Strict Mode-safe history seeding to prevent duplicate data entries when initializing your live metrics panels.

Can I use a simpler configuration instead of the Grammar API for quick React charts?

Yes, you can use the Config API instead of the Grammar API for quick React chart setup. The Config API provides a faster way to create basic charts, while the Grammar API offers more expressive and advanced customization capabilities.

Do I need custom theme registration to format axes and tooltips in streaming visualizations?

You do not need custom theme registration to format axes and tooltips in streaming visualizations, as basic formatting is available by default. However, registering custom themes allows you to apply consistent styling and use g2Overrides for advanced behavior.

What types of streaming analytics views can I create for a React time-series monitoring app?

For a React time-series monitoring app, you can create operational dashboards, live metrics panels, entity-latest status charts, geographic charts, bar or column views, and markdown or table views. These streaming analytics views are supported by VistralSpec configurations.