Bar Chart
render_bar_chartCreate interactive bar charts with vertical, horizontal, stacked, or multi-series layouts and click-to-drill-down functionality, styled with customizable themes.
Instructions
Render an interactive bar chart. Supports vertical/horizontal, stacked, multi-series, and click-to-drill-down (options.drilldown). Supports themes for styled visuals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Theme preset: boardroom, corporate, sales-floor, golden-treasury, clinical, startup, ops-control, tokyo-midnight, zen-garden, consultant, black-tron, black-elegance, black-matrix, forest-amber, forest-earth, sky-light, sky-ocean, sky-twilight, gray-hf, gray-copilot, office-red | |
| title | Yes | Chart title | |
| labels | Yes | Category labels for the x-axis | |
| effects | No | Override effects: none, subtle, shimmer, neon, energetic | |
| options | No | ||
| palette | No | Override palette only (mix-and-match) | |
| datasets | Yes | One or more data series | |
| typography | No | Override typography: professional, luxury, cyberpunk, editorial, mono, bold, system, techno |