Chart Prompts

1,337 ways to dress a line or bar chart, 669 light and 668 dark. Open any chart to see it full size and copy a prompt that gives your own chart the same look.

Every chart uses illustrative data. The prompts work with any coding agent and any charting library; they describe colors, type, spacing and marks precisely enough to reproduce each look.

← More from Emergent Mind Labs

Landfill Diversion line chart, dark theme: Leaf-green line into a target band on earth brown, with numbered policy flags.

Landfill Diversion

DarkLine

Leaf-green line into a target band on earth brown, with numbered policy flags.

  • Earth brown#1F1814
  • Leaf green#7BC96F
  • Terracotta#D0714A
  • Target ochre#C9B26A
  • Flag cream#F2E8DC

Prompt for your coding agent

Paste it with your chart's code. It restyles your data to match this chart.

Restyle my chart in the "Landfill Diversion" style described below. Keep my data, chart type, title meaning and units; change only the presentation. Use the charting library this project already uses (plain SVG if there is none). If the library can't express a detail, draw it in a custom layer instead of dropping it. Measurements assume a 960 x 600 chart; scale them proportionally.

Mood: a county waste-strategy review on deep earth brown. One bright leaf-green line climbs into a shaded target band, with numbered policy flags telling the story and a faint terracotta companion measure in its own strip.

Colors (use these exact values):
- Page: #1F1814 (deep earth brown). Plot panels: #261E19.
- Hero line: #7BC96F (leaf green). Companion measure: #D0714A (terracotta).
- Target band: #C9B26A fill at 14% opacity with 1px edges at 50% opacity; its label in #C9B26A.
- Ink #F2E8DC. Secondary text #A8988A. Gridlines #3A2F28 dotted (2 on, 4 off). Panel baseline #5A4A3F.
- Eyebrow in leaf green.

Typography (Google Fonts): Epilogue for all text.
- Title 31px 800, -0.6px letter-spacing, #F2E8DC, stating the finding.
- Eyebrow 11.5px 600 uppercase, 2px letter-spacing. Subtitle 15px 400 #A8988A.
- Axis labels 12 to 12.5px #A8988A. Panel and band labels 10.5px 700 uppercase, 1.4px letter-spacing. End value 22px 800 green; start value 15px 800 green. Policy key year 14px 800, description 12.5px 400 over two lines.

Layout:
- 56px left margin. Eyebrow at y 52, title at y 92, subtitle at y 120.
- Main panel from x 96 to 690, y 168 to 400. A separate strip panel below it (y 438 to 512) for the companion measure, with its own small axis and an uppercase label above the strip in terracotta. Never put the companion measure on a second y axis.
- A policy key column at the right (x 776 to 904): an uppercase "POLICY CHANGES" heading, a 1px rule, then one entry per event: the numbered flag, the year and a short description.
- Source at the bottom left, a one-line takeaway about the companion measure in terracotta at the bottom right.

Axes and grid:
- Dotted gridlines every 10 points in the main panel, three in the strip. Y labels right-aligned 32px left of the plot.
- X labels only at round years and event years.
- Each policy event gets a faint dashed vertical guide (1px #F2E8DC at 18% opacity, 3/3) through both panels.

Marks:
- Line chart: straight 3.2px green line with round joins over a 9px green halo at 16% opacity, 2.6px dots at every point, an open ring (r 5, 2px) at the start labeled below, a solid 6px end dot with the value in large green type to the right. The companion measure is a 3px terracotta dotted line (round caps, 0.1 on, 6 off) at 90% opacity in the strip, with start and end values in terracotta.
- Policy flags: a solid #F2E8DC circle (r 10.5) with the number in 13px 800 #1F1814, floating 28px above the line at the event year on a 1.2px stem.
- Bar chart: vertical bars in #7BC96F with 2px-rounded tops on the #261E19 panel, the same target band behind them, and the numbered flags sitting above the bars of event years; the companion measure goes in the strip below as small terracotta dots.

Avoid: a dual axis, bright colors other than the green, heavy gridlines, a boxed legend.

When you're done, render the chart and check that the flags do not touch the target band label, the strip has its own honest scale, and every takeaway number matches the data.