When a chart needs richer hover behavior, TileDown renders it as an interactive tile that ships a small script for a styled, cursor-following tooltip.
Charts in Markdown are static SVG with zero shipped
JavaScript, which is the right default. But sometimes you want a richer hover: a
styled tooltip that follows the cursor and reads on touch and keyboard. TileDown
offers the same chart as an interactive tile, which opts into a small
page-local script. Static by default; interactivity is a deliberate choice.
Hover the bars below (or focus them with the keyboard):
Developer happiness, now interactive
The data is the same fabricated benchmark from the static article; the difference
is the cursor-following tooltip. The script is scoped to interactive charts: a
page with only static fences ships none.
Same opt-in, with two series:
Weekend rewrites, interactive
This is the tile half of TileDown’s split: static SVG is a Markdown capability;
the interactive chart is a tile, because interactivity is what a tile is for.
TileDown Updates
Stay updated with every exciting new feature we bring to TileDown, the Markdown‑first way to build sites you truly own.
View Markdown source
index.md
---title: Interactive Chartsdate: 2026-06-03description: When a chart needs richer hover behavior, TileDown renders it as an interactive tile that ships a small script for a styled, cursor-following tooltip.tags: Charts, Interactive, JavaScriptimage: /assets/post-interactive-charts.svgimageDark: /assets/post-interactive-charts-dark.svg---# Interactive Charts[Charts in Markdown](post:charts-in-markdown) are static SVG with zero shipped
JavaScript, which is the right default. But sometimes you want a richer hover: a
styled tooltip that follows the cursor and reads on touch and keyboard. TileDown
offers the same chart as an **interactive tile**, which opts into a small
page-local script. Static by default; interactivity is a deliberate choice.
Hover the bars below (or focus them with the keyboard):
:::chart
type: bar
title: Developer happiness, now interactive
labels: TileDown, Hugo, Jekyll, Bespoke PHP
series.Happy devs: 92, 71, 64, 12
:::
The data is the same fabricated benchmark from the static article; the difference
is the cursor-following tooltip. The script is scoped to interactive charts: a
page with only static fences ships none.
Same opt-in, with two series:
:::chart
type: line
title: Weekend rewrites, interactive
labels: Jan, Feb, Mar, Apr, May
series.Before: 4, 3, 4, 2, 3
series.After: 3, 1, 1, 0, 0
:::
This is the tile half of TileDown's split: static SVG is a Markdown capability;
the interactive chart is a tile, because interactivity is what a tile is for.