charthtmlv1.0.0
Mag 7 YTD — Multi-line
Year-to-date total return for the Magnificent 7 with the focus ticker emphasized via thicker line and pointed markers.
Open preview →Mag 7 YTD — Multi-line
A relative-performance chart purpose-built for the Magnificent 7 narrative.
What this chart shows
Seven lines on a YTD total-return scale. The focus ticker is rendered thicker (borderWidth 4 vs 2) and with point markers — so even at thumbnail size, the reader can tell which line is the protagonist.
When to use
- Pair with peer-comparison-bars in a "relative value" section
- Anchor for any thesis about a Mag 7 stock that is rerating against its cohort
- NOT for: non-tech baskets (use a generic peer-line chart instead)
How agents use this
data = {
periods: ["Jan", "Feb", "Mar", "Apr"],
focus_ticker: "AAPL",
series: [
{ ticker: "NVDA", data: [0, 8, 18, 24] },
{ ticker: "META", data: [0, 6, 12, 18] },
{ ticker: "MSFT", data: [0, 3, 8, 12] },
{ ticker: "AMZN", data: [0, 4, 7, 10] },
{ ticker: "GOOGL", data: [0, 2, 5, 8] },
{ ticker: "TSLA", data: [0, -3, -1, 3] },
{ ticker: "AAPL", data: [0, -1, -3, -2] }
]
}
Visual register
Dark-mode line chart. Six peer lines at borderWidth 2 with muted palette tones. Focus ticker line at borderWidth 4 in red (#ff5577) when underperforming, green when leading — agent picks the focus color from the relative-performance story.
Example output
See ./preview.html — Mag 7 YTD with AAPL emphasized in red.