---
title: "Playfair: a sample of the 1821 chart"
styles: [scientific]
---

[Back to the chart gallery](https://richview.ai/docs/charts)

This view selects every eighth observation with a known wage. The axes have different scales; compare changes, not mark heights. Prices are not inflation-adjusted.

```chart
{
  "axes": {
    "x": {
      "label": "Year"
    },
    "y": {
      "label": "Wheat per quarter",
      "unit": "s"
    },
    "y2": {
      "label": "Weekly wage",
      "unit": "s"
    }
  },
  "data": {
    "csv": "gallery/first-charts/data/selected.csv"
  },
  "encoding": {
    "line": "wages",
    "x": "year",
    "y": "wheat"
  },
  "style": {
    "gaps": "break",
    "ratio": "16:9"
  },
  "subtitle": "Shillings, selected observations from 1565 to 1805",
  "title": "Wheat and a mechanic's weekly wage",
  "type": "combo"
}
```

## Source

````rmd
---
title: "Playfair: a sample of the 1821 chart"
styles: [hand-drawn]
---

```chart
{
  "axes": {
    "x": {
      "label": "Year"
    },
    "y": {
      "label": "Wheat per quarter",
      "unit": "s"
    },
    "y2": {
      "label": "Weekly wage",
      "unit": "s"
    }
  },
  "data": {
    "csv": "data.csv"
  },
  "encoding": {
    "line": "wages",
    "x": "year",
    "y": "wheat"
  },
  "style": {
    "gaps": "break",
    "ratio": "16:9"
  },
  "subtitle": "Shillings, selected observations from 1565 to 1805",
  "title": "Wheat and a mechanic's weekly wage",
  "type": "combo"
}
```

````

## Data and credits

[Complete report and provenance](https://richview.ai/docs/gallery/first-charts/) · [Rich Markdown source](https://richview.ai/examples/charts/playfair/report.rmd) · [CSV observations](https://richview.ai/docs/gallery/first-charts/data/selected.csv).
