Flint-interactive
A high-level language for interactive data visualizations that separates visual logic from interaction logic; a compiler using bidirectional transformation maintains the mapping between visual space and data semantics so specs stay high-level. It includes a programming API for creating charts in apps/dashboards and an MCP app so AI agents can declaratively create interactive charts and dashboards in chat.
What it addresses
AI agents often generate interactive charts with undesired effects that are slow, costly, and hard to steer, because the low-level specification languages they use entangle data encoding, style, and interaction logic.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Flint-interactive
A high-level language for interactive data visualizations that separates visual logic from interaction logic; a compiler using bidirectional transformation maintains the mapping between visual space and data semantics so specs stay high-level. It includes a programming API for creating charts in apps/dashboards and an MCP app so AI agents can declaratively create interactive charts and dashboards in chat.
Problem: AI agents often generate interactive charts with undesired effects that are slow, costly, and hard to steer, because the low-level specification languages they use entangle data encoding, style, and interaction logic.
Audience: Builders of applications and agentic apps who want agents to bring up interactive charts in the user session following user asks.
Posted by @chenglong-hn · Original source ↗
Story title · @chenglong-hn · · Source ↗
Show HN: Flint-interactive, a language for interactive data visualizations (MSR)
Submitted URL · @chenglong-hn · · Source ↗
https://microsoft.github.io/flint-chart/#/interactions
Source text · @chenglong-hn · · Source ↗
We decide to design a language that can separate the visual logic and the interaction logic to make specification much cleaner, manageable, and friendly (to both human and AI).
Source text · @chenglong-hn · · Source ↗
We used a trick of bidirectional transformation to help the compiler maintain the mapping between pixel/visual space to data semantics so the specs can stay at a higher-level.
Source text · @chenglong-hn · · Source ↗
We also provide a programming API, so that you can use it to create charts in your app/dashboards for external interactions.
Source text · @chenglong-hn · · Source ↗
Agents (especially with smaller models) quite often generate interactions with undesired effects, they are often quite slow, costly, and extremely annoying if to want to steer it to change something.
Source text · @chenglong-hn · · Source ↗
We find the issue is that the language agents use to create interactive visualization is kinda low-level. The logic for specifying data encoding, style and interactions are all entangled
Source text · @chenglong-hn · · Source ↗
You can try Flint in your agent app. Simply call your agent to create it as an MCP app in your chat! (https://microsoft.github.io/flint-chart/#/mcp)
Source text · @chenglong-hn · · Source ↗
the language should be high-level and the agents can easily user them in chats/apps declaratively (with many presets).
Source text · @chenglong-hn · · Source ↗
If you are building applications, ask the agent to use the library. Flint is especially suitable for building agentic apps where you want agents to bring up an interactive charts quickly in the user session following their asks.
Source text · @chenglong-hn · · Source ↗
https://youtu.be/JAJy7ToczMs
Source text · @chenglong-hn · · Source ↗
https://microsoft.github.io/flint-chart/#/interactions/advanced