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

Bed Occupancy line chart, light theme: Hospital bed report with weekend columns, a safe level and red escalation days.

Bed Occupancy

LightLine

Hospital bed report with weekend columns, a safe level and red escalation days.

  • Hospital blue#1F3F6B
  • Safe green#2E8B57
  • Escalation red#C8322B
  • Weekend gray#F0F2F5
  • Ink#16202C

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 "Bed Occupancy" 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 hospital bed management report printed for the morning huddle. Clean white page, one confident dark blue line, calm operational thresholds and red only where action was taken.

Colors (use these exact values):
- Page: #FFFFFF.
- Primary data line and headline KPI numbers: #1F3F6B (dark hospital blue).
- Safe level threshold: #2E8B57 (green).
- Escalation: #C8322B (red) for points above the trigger, their count labels, the trigger line and the escalation KPI.
- Ink #16202C for the title and legend text; secondary text #5F6B7A; gridlines #E2E6EB; weekend columns #F0F2F5; weekend and weekday-initial axis labels #9AA3AE.

Typography (Google Fonts):
- Noto Sans Display throughout. Eyebrow 11.5px 600 uppercase with 1.8px letter-spacing in #5F6B7A; title 28px 700 with -0.3px letter-spacing stating the finding; subtitle 15px 400 naming measure, unit and period; legend 13px 500; axis labels 12.5px; day numbers 11.5px 500 with weekday initials 9.5px underneath; count labels 12px 700; KPI numbers 22px 700 with 11px captions; source 12px.

Layout:
- 56px side margins. A 4 x 62px #1F3F6B bar at the left of the header block, with the eyebrow, title and subtitle stacked beside it.
- Top right: a KPI strip of three centered figures 80px apart (average, peak with its date, escalation beds total in red), separated by 1px #E2E6EB vertical rules.
- A single-row legend under the subtitle: line swatch, red dot, weekend square.
- Plot from x 72 to 904 and y 176 to 494; footer rule at y 548 with the source left and a report name right.

Axes and grid:
- y from 80% to 100% (occupancy is never near zero; this is a line chart so a truncated scale is fine), labels at 80, 90 and 100% with 1px #E2E6EB gridlines. The 85% and 95% labels are colored and bold to match their thresholds.
- x: one category per day, every day numbered, with the weekday initial below; weekends muted.
- Weekend days are full-height #F0F2F5 columns behind everything, one day wide.
- A 1px ink baseline.

Marks:
- Line chart: a 2.5px #1F3F6B line with straight segments and round joins, small 2.6px navy dots at each ordinary day. Days above the trigger get a 5.5px red dot with a 1.8px white ring and a "+N" label 13px above it (the count of escalation beds opened). A 2px green dashed (7 on, 5 off) line at the safe level labeled "85% safe operating level" in 12px 600 green just under its left end; a 1px red dotted (1.5 on, 3 off, 70% opacity) trigger line at 95% labeled "Escalation trigger" at its right end.
- Bar chart: slim square-cornered #1F3F6B bars (about 60% of the day slot) on the same weekend columns and threshold lines; bars above the trigger turn #C8322B with the "+N" count above them.

Labels and annotation:
- Title states the count of days over the trigger, computed from the data.
- Red labels are counts, not values; say so in the footer line.

Avoid: area fills, smoothing, gradients, shadows, more than one line color, legends inside the plot, and red on anything that is not an escalation.

When you're done, render the chart and check that the weekend columns line up with the correct weekdays, the "+N" labels never collide on consecutive hot days, the day count in the title matches the red dots, and the KPIs are arithmetically right.