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

Anomaly Bars bar chart, light theme: Thin diverging blue-to-red anomaly bars with a black running mean.

Anomaly Bars

LightBar

Thin diverging blue-to-red anomaly bars with a black running mean.

  • Navy#1F3F6E
  • Steel blue#5E88B8
  • Coral#EC7A5F
  • Crimson#8E1426
  • Ink#111827

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 "Anomaly Bars" 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 scientific climate-assessment figure. Crisp white, a dense row of thin bars, a diverging color scale that makes the trend obvious at a glance, and a single black smoothed line over it.

Colors (use these exact values):
- Background: #FFFFFF. Ink, baseline and running mean: #111827. Secondary text and ticks: #6B7280. Gridlines and footer rule: #E5E7EB.
- Diverging stepped scale by magnitude. Below the baseline: #A9C4DE (0 to -0.15), #5E88B8 (-0.15 to -0.3), #1F3F6E (below -0.3). Above: #F6B39A (0 to +0.25), #EC7A5F (+0.25 to +0.5), #C93A35 (+0.5 to +0.85), #8E1426 (above +0.85). Rescale the break points to your data's range but keep the seven colors and their order.

Typography (Google Fonts):
- Inter throughout, with tabular figures (font-variant-numeric: tabular-nums) on every number. Title 27px 700 #111827, -0.5px letter-spacing, stating the finding. Subtitle 15px 400 #6B7280 with measure, unit, reference period and date range. Axis labels 12px 400 #6B7280 (the zero label 600 in ink). Key labels 10.5px. Baseline label 12px 600 ink. Highlight labels: year 10.5px #6B7280 over value 12px 700 #8E1426. Source 12px.

Layout:
- 56px side margins. Title at y 62, subtitle at y 90. A stepped color key at y 118: seven 33 x 9 px swatches edge to edge with small tick marks and break values under the joins, a unit label after it, and a legend item for the running mean.
- Plot from x 96 to 904 and y 176 to 510. A 1px footer rule at y 548; source text on the left at y 572 and a credit right-aligned.

Axes and grid:
- No axis lines. Faint 1px #E5E7EB gridlines at round values. Signed y labels (+0.5, 0.0, −0.5 with a true minus sign), right-aligned 12px left of the plot.
- The baseline is a 1.6px #111827 rule labeled with its reference period ("1951–1980 mean") just above its left end.
- Year ticks 5px long every 20 years, labels 21px below the plot.

Marks:
- Bar chart: one bar per period, 72% of the band (about 4.6px at 126 bars), square corners, hanging below or rising above the baseline, each filled by the stepped color of its value.
- Line chart: the same diverging logic as colored dots or a line whose segments take the color of their value, plus the black running mean. For a single line, use a 2px #111827 line with small dots colored by the scale.
- Running mean: a 2.2px #111827 monotone curve (trailing 10-period average) over a 5px white halo so it reads over the bars.
- The five highest values: labels in a row above the plot's top-right area, 52px apart, each with a 0.7px #6B7280 leader to its bar tip, plus a small "Warmest five" lead-in in 11px 600 ink.

Avoid: a continuous rainbow scale, gradients within a bar, rounded bars, gaps wider than the bars, heavy frames, and labeling more than five bars.

When you're done, render the chart and check that the reference period mean is really zero in the data, every bar's color matches its bin, the running mean is a trailing average, the leaders point to the right bars and the title's claim is true.