Canonical: https://botbento.com/usecases/compile-semantic-chart-specs-from-data/
Format: Markdown representation of the public HTML page.

[Home](/) / [Use cases](/usecases/) / [Coding](/usecases/?category=coding)

Coding · Intermediate

# Compile semantic chart specs from data

Turn raw datasets and visual requirements into styled chart configurations

[Use with BotBento ](https://app.botbento.com/?ref=usecases&utm_source=botbento.com&utm_medium=usecases&utm_campaign=compile-semantic-chart-specs-from-data)Copy promptShare[Markdown](/text/usecases/compile-semantic-chart-specs-from-data/index.md)[العربية](/ar/usecases/compile-semantic-chart-specs-from-data/)

Opens BotBento. Paste the prompt into a bot; nothing is preconfigured.

- When you askReceive dataset and chart prompt
- ThenCompile semantic chart specification
- ResultPresent generated chart configuration

Translate raw tabular data and reporting prompts into structured visualization specifications. The bot infers semantic field types, chooses appropriate mark types and layout constraints, and compiles the result into target charting library configurations.

## Prompt to start with

BotBentoRecommended

```
Inspect the provided dataset and identify semantic roles for each column, such as numeric values, temporal steps, or categorical groupings. Generate a compact chart specification using the requested theme or dimensions, then invoke the compiler tool in the terminal to produce the final chart configuration. Always present the compiled chart configuration to the user for review before writing files to disk.
```

Copy

## Tools it uses

ChatSpreadsheetTerminal

## Works with

BotBento

## Tags

- dataviz
- charts
- visualization
- code-gen

## Source

[flint-chart: 🪄 Flint is a visualization language that lets AI agents reliably create expressive, good-looking charts from simple, human-edit](https://github.com/microsoft/flint-chart)
GitHub · checked 2026-10-16

Summarized in our own words. Any results described there are the authors’ own, not measured by BotBento.

By BotBento Editorial · Added 2026-10-16 · Updated 2026-10-16 · [Suggest a correction](/contact/)

## Related use cases

-

Codingintermediate

## [Analyze tabular datasets and generate charts](/usecases/analyze-tabular-datasets-and-generate-charts/)

Execute sandboxed code to inspect structured data, compute metrics, and generate charts.

ChatSpreadsheetTerminal
-

Codingintermediate

## [Build formatted spreadsheets with charts and formulas](/usecases/build-formatted-spreadsheets-with-charts-and-formulas/)

Generate structured workbooks, calculate metrics, and build summary charts from raw data

SpreadsheetChat
-

Codingintermediate

## [Generate interactive architecture diagrams from code or prompts](/usecases/generate-interactive-architecture-diagrams-from-code-or/)

Convert system descriptions and codebases into interactive visual architecture diagrams

ChatGitHubTerminal
