A variable font that turns text into charts.
Datatype is an OpenType variable font that turns simple text expressions into inline charts. No JavaScript, no images, no rendering library — just type the syntax and Datatype's ligature substitution does the rest.
{b:30,70,50,90}
{l:10,50,30,80,20}
{p:65}
Two axes give you control over chart density and weight. Drag the sliders to see charts respond in real time.
The same expressions rendered from 14px to 64px.
Datatype charts work anywhere text does — tables, dashboards, reports. Here's a stock watchlist with sparklines rendered entirely in Datatype.
| Stock | 30d trend | Price | Change |
|---|---|---|---|
| AAPLApple | {l:40,25,1,0,34,73,93,100,85,26} | $255.78 | -2.27% |
| MSFTMicrosoft | {l:86,86,75,100,52,39,0,26,14,10} | $401.32 | -0.13% |
| NVDANvidia | {l:55,70,63,71,100,67,0,88,88,53} | $182.81 | -2.21% |
| TSLATesla | {l:81,77,100,73,37,47,0,39,60,39} | $417.44 | +0.09% |
| AMZNAmazon | {l:86,91,81,90,97,100,54,23,12,0} | $198.79 | -0.41% |
Charts sit naturally within running prose, matching the surrounding typeface's metrics.
Add Datatype to your CSS, then just type chart expressions in your HTML.
It's easy to use Datatype on the web. See the integration guide for setup instructions.
{b:values}Comma-separated values, each 0–100. Up to 20 bars.
{b:15,45,80,30,60}
{l:values}Comma-separated values, each 0–100. Up to 20 points.
{l:10,40,25,70,50,90,35}
{p:value}A single value, 0–100, representing the percentage filled.
{p:62}