Documentation

Learn DataViz

Guides, tutorials, and API references to help you get the most out of DataViz.

Popular Topics

Example: Embed a Chart JavaScript
import { DataViz } from '@dataviz/sdk';

const client = new DataViz({ apiKey: 'YOUR_API_KEY' });

const chart = await client.query({
  question: 'Monthly revenue by product for 2024',
  visualization: 'bar',
  colors: ['#3B82F6', '#F97316']
});

chart.embed('#dashboard-container');