chartlet 0.14.0

Compile structured data into deterministic, accessible static charts
Documentation
{
 "schemaVersion": 1,
 "type": "scatter",
 "title": "Metabolic rate by body mass",
 "source": "Illustrative data",
 "width": 760,
 "height": 480,
 "scatter": {
  "points": [
   {
    "x": 5.2,
    "y": 0.9,
    "group": "Small"
   },
   {
    "x": 64.8,
    "y": 7.9,
    "group": "Small"
   },
   {
    "x": 75.4,
    "y": 9.9,
    "group": "Small"
   },
   {
    "x": 325.4,
    "y": 31.2,
    "group": "Small"
   },
   {
    "x": 6,
    "y": 1.4,
    "group": "Small"
   },
   {
    "x": 25.8,
    "y": 9.2,
    "group": "Small"
   },
   {
    "x": 323.1,
    "y": 21.4,
    "group": "Small"
   },
   {
    "x": 2.8,
    "y": 0.7,
    "group": "Small"
   },
   {
    "x": 80.3,
    "y": 12.3,
    "group": "Small"
   },
   {
    "x": 167.4,
    "y": 14.4,
    "group": "Small"
   },
   {
    "x": 103.3,
    "y": 18.1,
    "group": "Small"
   },
   {
    "x": 59.3,
    "y": 9.3,
    "group": "Small"
   },
   {
    "x": 8,
    "y": 2.6,
    "group": "Small"
   },
   {
    "x": 26.2,
    "y": 4.5,
    "group": "Small"
   },
   {
    "x": 143.4,
    "y": 21.2,
    "group": "Small"
   },
   {
    "x": 579.8,
    "y": 37.1,
    "group": "Small"
   },
   {
    "x": 15.3,
    "y": 2.9,
    "group": "Small"
   },
   {
    "x": 640.9,
    "y": 40.8,
    "group": "Small"
   },
   {
    "x": 433.1,
    "y": 43.1,
    "group": "Small"
   },
   {
    "x": 4.5,
    "y": 1.1,
    "group": "Small"
   },
   {
    "x": 787.8,
    "y": 45.1,
    "group": "Small"
   },
   {
    "x": 8,
    "y": 1.8,
    "group": "Small"
   },
   {
    "x": 33.2,
    "y": 4.2,
    "group": "Small"
   },
   {
    "x": 56.9,
    "y": 8.9,
    "group": "Small"
   },
   {
    "x": 56.6,
    "y": 10.3,
    "group": "Small"
   },
   {
    "x": 612.1,
    "y": 469.3,
    "group": "Large"
   },
   {
    "x": 370.9,
    "y": 486.2,
    "group": "Large"
   },
   {
    "x": 3.1,
    "y": 1.7,
    "group": "Large"
   },
   {
    "x": 381.9,
    "y": 587.1,
    "group": "Large"
   },
   {
    "x": 51,
    "y": 33.5,
    "group": "Large"
   },
   {
    "x": 138.5,
    "y": 127.1,
    "group": "Large"
   },
   {
    "x": 52.6,
    "y": 61.7,
    "group": "Large"
   },
   {
    "x": 7.2,
    "y": 6.8,
    "group": "Large"
   },
   {
    "x": 932,
    "y": 1116.9,
    "group": "Large"
   },
   {
    "x": 1.8,
    "y": 1.1,
    "group": "Large"
   },
   {
    "x": 2.8,
    "y": 1.2,
    "group": "Large"
   },
   {
    "x": 7.6,
    "y": 5,
    "group": "Large"
   },
   {
    "x": 1.4,
    "y": 0.4,
    "group": "Large"
   },
   {
    "x": 69.8,
    "y": 78.2,
    "group": "Large"
   },
   {
    "x": 9.8,
    "y": 6.9,
    "group": "Large"
   },
   {
    "x": 439.3,
    "y": 541.8,
    "group": "Large"
   },
   {
    "x": 989.8,
    "y": 951.5,
    "group": "Large"
   },
   {
    "x": 8.5,
    "y": 7.1,
    "group": "Large"
   },
   {
    "x": 1.2,
    "y": 0.7,
    "group": "Large"
   },
   {
    "x": 3.9,
    "y": 1.7,
    "group": "Large"
   },
   {
    "x": 2.9,
    "y": 2,
    "group": "Large"
   },
   {
    "x": 1.3,
    "y": 0.8,
    "group": "Large"
   },
   {
    "x": 751.6,
    "y": 620.8,
    "group": "Large"
   },
   {
    "x": 489.8,
    "y": 372.6,
    "group": "Large"
   },
   {
    "x": 36.3,
    "y": 31.5,
    "group": "Large"
   }
  ],
  "regression": true,
  "xScale": "log",
  "yScale": "log",
  "xTitle": "Body mass (g)",
  "yTitle": "Metabolic rate (W)"
 },
 "mobile": {
  "width": 400,
  "height": 480
 }
}