Open with forecast cards: projected value, a confidence badge and the low–high range beneath
Chart history solid and the forecast dashed or translucent, split by a labelled today marker
Shade the confidence band around the forecast line; without a chart library, draw both as inline SVG paths clipped to the plot area
If the page has scenarios, show conservative / base / optimistic cards as a radio group and highlight the selected one
If the model version and accuracy are on the page, show them in the header so users know where numbers come from
Use a deep indigo background; violet #8B5CF6 for forecast fills and bands, #A78BFA for predicted values as text
Use Predictive Analytics with an AI coding agent
Paste this into Claude Code, Cursor, v0, Lovable or any coding agent to restyle a page in Predictive Analytics.
AI prompt · 20 lines
Apply the Predictive Analytics style to this interface.
What it is: Visualizes predictions and forecasts with confidence intervals. Shows what the data says about the future.
Look and feel: Forecasting, ML insights, Confidence intervals, Trend projection, Scenario modeling, What-if.
Colors: primary #1E1B4B, #FFFFFF, #8B5CF6; secondary #A78BFA, #22C55E, #F59E0B, #EC4899, #E5E7EB.
Effects and motion: Animated forecast lines, confidence bands, scenario toggles, prediction indicators.
How to build it:
- Open with forecast cards: projected value, a confidence badge and the low–high range beneath
- Chart history solid and the forecast dashed or translucent, split by a labelled today marker
- Shade the confidence band around the forecast line; without a chart library, draw both as inline SVG paths clipped to the plot area
- If the page has scenarios, show conservative / base / optimistic cards as a radio group and highlight the selected one
- If the model version and accuracy are on the page, show them in the header so users know where numbers come from
- Use a deep indigo background; violet #8B5CF6 for forecast fills and bands, #A78BFA for predicted values as text
Works best for: Sales forecasting, Demand planning, Risk assessment, Capacity planning, ML model outputs.
Avoid it for: Historical reporting, Exact measurements, Regulatory compliance, Simple tracking. If this product falls into one of those, say so before restyling.
Restructure the layout where this style calls for it, keeping the existing content and behaviour. Use only content already on the page: if a step needs testimonials, pricing, data, images or media that don't exist, skip that step instead of adding placeholders or inventing it.
Meet WCAG AA contrast: where a palette color is too light or bright for text, keep it for backgrounds, borders and large display type and use a darker text color, rather than darkening the whole design. Keep visible focus states, give icon-only controls an accessible name (aria-label) and respect prefers-reduced-motion.