chartlet 0.1.0-alpha.3

Compile structured data into deterministic, accessible static charts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  "schemaVersion": 1,
  "type": "bar",
  "orientation": "horizontal",
  "title": "Signup conversion by page",
  "description": "The referral page converts best, the blog worst.",
  "source": "Example data",
  "categoryAxis": { "title": "Page" },
  "valueAxis": { "title": "Conversion rate", "format": "percent" },
  "data": [
    { "label": "Pricing", "value": 0.042 },
    { "label": "Home", "value": 0.061 },
    { "label": "Docs", "value": 0.038 },
    { "label": "Blog", "value": 0.055 },
    { "label": "Referral", "value": 0.074 }
  ]
}