Area Chart
Filled areas over time, overlaid or stacked, that show how big a measure is and how its parts add up.
Paste this into your agent.
Area Chart shows volume over time, such as page views, and when stacked shows how sources add up to a total. It shares the line chart's axes, curves and keyboard tooltip.
Install
bashnpx shadcn@4.18.0 add @siteplane/area-chart
Import it from @/siteplane/components/area-chart. The project needs Siteplane UI's one-time setup first: .
When to pick it
- vs : Pick Line Chart when multiple series do not add up to a total; overlapping fills would obscure one another.
- vs : Pick Bar Chart for a few discrete periods or unordered categories.
- vs : Pick Sparkline with the area variant for a small inline trend.
Rules
- Pass
data, thexkey,seriesand a requiredlabel. - Use
stackedwhen series are parts of one total; the tooltip still shows each series' own value. - Choose
fill="gradient"orfill="solid"; both keep a line along the top. - Prefer the default
monotonecurve for data that rests on zero so the fill never dips below it. - Format values with
formatValueand translate the screen-reader text withlabels.
Reference
Add to your agent
Print this skill from the terminal, or connect the whole catalog over MCP. Setup guides
CLI
MCP server
Questions
Related skills
Better Colorsby jakubkrehel
OKLCH color space for web projects. Convert hex/rgb/hsl to oklch, generate palettes, check contrast, handle gamut boundaries, and theme with Tailwind v4. Triggers on oklch, color conversion, palette generation, contrast ratio, gamut, display p3, design tokens, hue drift, chroma, dark mode colors.
VisualExternalGitHub stars: 9.2K
Better Interfaceby jakubkrehel
Run a holistic interface review across accessibility, layout, writing, typography, color, and visual polish.
VisualExternalGitHub stars: 9.2K
Better Typographyby jakubkrehel
Web typography from choosing fonts to spacing, wrapping and accessibility. Use when picking or pairing typefaces, configuring variable fonts or OpenType features, setting up a type scale, styling text in components, truncating text, styling underlines, selection, placeholders or carets, or reviewing frontend code for typography. Triggers on typography, fonts, font formats, woff2, variable fonts, font-weight, opentype, font-feature-settings, letter-spacing, line-height, type scale, tabular numbers, text-wrap, truncation, line clamp, underlines, text-decoration, text selection, iOS input zoom, font smoothing, text contrast, measure, line length, text-box, smart punctuation, drop cap.
TypographyExternalGitHub stars: 9.2K
Color Contrast for Taste, Not Just Complianceby UI Skillbook
Use accessible contrast ratios as a floor, then build restrained hierarchy on top of them rather than treating them as the whole job.
Visual