build_infographic
Creates a self-contained HTML infographic with headline, chart, big number, and insights from Serbian data. Generates a responsive file saved to exports/.
Instructions
Create a complete infographic HTML: headline + big number + chart + insights.
Self-contained HTML with responsive design. Opens in any browser. Saved to exports/ directory.
Returns: {filepath, metadata, insights, headline}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Row dicts from get_resource_data() | |
| theme | No | 'dark', 'light', or 'infographic' | infographic |
| title | No | Infographic title | Serbian Data Story |
| filename | No | Output filename (without .html) | infographic |
| x_column | No | X-axis column | |
| y_column | No | Y-axis column | |
| chart_type | No | Main chart (line, bar, pie, scatter, histogram, box) | bar |
| time_column | No | Optional time column for insight extraction | |
| entity_column | No | Optional entity column for insight extraction |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||