DataVisual.js - Transform raw data into interactive visual intelligence with motion-based outputs and video generation capabilities.
The Visual Intelligence API allows developers to render interactive visualizations from raw data, generate motion-based outputs, export visualizations to video, and embed visual intelligence into applications.
Real-time exploration with user-driven controls and progression playback.
Export visuals to MP4 video for shareable, presentation-ready outputs.
Live visuals in dashboards with real-time updates and auto-play capabilities.
GPU-accelerated visuals with smooth animations and motion effects.
| Parameter | Type | Description |
|---|---|---|
| container | HTMLElement | DOM element to mount the visualization |
| options | Object | Configuration object (see below) |
| Option | Type | Description |
|---|---|---|
| data | Array<Array> | Data rows: [label, value1, value2, ...] |
| cylinders | Array<Object> | Cylinder configurations (label, color, glow) |
| Option | Type | Default | Description |
|---|---|---|---|
| title | string | "" | Title text (supports \\n for line breaks) |
| autoplay | boolean | true | Auto-start progression on load |
| playSpeed | number | 1500 | Milliseconds per frame |
| presentationMode | boolean | false | Staged reveal with pause |
| initialOverlay | boolean | true | Show intro overlay/fade |
| showGrid | boolean | true | Display grid lines |
| background | string | "#000" | Background color |
Each row represents a time point or category:
row[0] - Label shown in date/scrubber displayrow[1], row[2], etc. - Numeric values for cylinders| Property | Type | Description |
|---|---|---|
| label | string | Text shown below cylinder |
| color | string | Hex color (#RRGGBB) or rgb() |
| glow | boolean | Enable outer glow effect |
| prefix | string | Display prefix (e.g., "$", "%") |
| valueIndex | number | Explicit row index for this cylinder |
| format | function | Custom formatter: (value, row) => string |
The API supports native browser MP4 recording via MediaRecorder. Recording is initiated through the built-in UI controls when enabled.
Includes DataVisual.js, documentation, and working samples.
Download Starter Kit View Demos Contact Us