How to use
Set thetype property on your GraphConfig to choose a chart type:
Choosing the right type
Consider three key factors when selecting a chart type:- Your data structure - Number of series, categorical vs continuous data
- Your message - Comparison, trends, composition, distribution or relationships
- Your audience - Familiarity with chart types, complexity tolerance
By category
Line charts
- Line - Time series data, trends, continuous measurements
- Stacked area - Part-to-whole relationships over time
Bar and column charts
- Bar - Horizontal bars for comparing categories and ranking
- Column - Vertical bars for comparisons and time series
Pie and donut
Combination
- Combo - Comparing metrics with different units or scales
Specialised
- Funnel - Conversion funnels, process stages
- Heatmap - Patterns across two dimensions
- Scatter - Correlation analysis, distribution patterns
- Bubble - Three-variable comparisons
- Waterfall - Financial analysis, incremental changes
- Mekko - Market share analysis
- Table - Precise values, detailed data
Type-specific options
Many chart types have additional configuration options available through theoptions property. See type options for details.