---
title: Waffle chart
styles: [scientific]
---

```chart
type: waffle
title: Cars carry four in ten trips
subtitle: Each square is 1% of the trips
data:
  inline:
    - { mode: Car, trips: 412 }
    - { mode: Train, trips: 236 }
    - { mode: Bicycle, trips: 118 }
    - { mode: Walking, trips: 97 }
    - { mode: Bus, trips: 61 }
encoding: {x: mode, y: trips}
axes:
  y: {label: Trips}
```
