Area Chart

dgmo
area Fleet Growth Over Time
series Ships
x-label Year

era 1710 -> 1716 Rise (green)
era 1716 -> 1720 Decline (red)

1710 3
1712 5
1714 9
1716 14
1718 8
1720 4
Year 0 3 6 9 12 15 1710 1712 1714 1716 1718 1720 Fleet Growth Over Time

Syntax

area Chart Title
series Series Name
x-label X Axis Label
y-label Y Axis Label

Label value

Era Bands

Annotate named time periods with a shaded background band and label:

dgmo
area Fleet Growth by Era
x-label Year

era 1710 -> 1714 Early Growth (blue)
era 1714 -> 1720 Decline (red)

1710 3
1712 5
1714 9
1716 14
1718 8
1720 4
Year 0 3 6 9 12 15 1710 1712 1714 1716 1718 1720 Fleet Growth by Era

Era syntax: era <start> -> <end> Label (color)

  • start and end must exactly match data point labels
  • Color is optional; omit for the palette default

Metadata Keys

KeyDescriptionRequired
chartMust be areaYes
titleChart title displayed above the chartNo
seriesName of the data series (shown in legend)No
x-labelLabel for the X axisNo
y-labelLabel for the Y axisNo
colorOverride the area fill colorNo

Data Format

Each data line follows the pattern Label value:

1710 3
1712 5
1714 9