charts

Generate responsive Recharts visualizations wrapped in ResponsiveContainer.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/madmaxfarm105-hue/Comando --skill charts-madmaxfarm105-hue
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: charts
Source: https://github.com/madmaxfarm105-hue/Comando/tree/main/.emdash/skills/charts
Command: npx skills add https://github.com/madmaxfarm105-hue/Comando --skill charts-madmaxfarm105-hue

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Charts are often hard to size correctly and style consistently, leading to broken layouts and unreadable visualizations.

Core Features & Use Cases

  • Recharts chart building blocks: LineChart, BarChart, AreaChart, PieChart, and composable chart elements (axes, grids, tooltips, legends).
  • Responsive rendering rule: Enforces wrapping every chart in ResponsiveContainer so it renders correctly across screen sizes.
  • Common visualization patterns: Basic, grouped, and stacked bar charts; single and multi-line trends; area charts; pie and donut distributions.
  • UX-focused styling guidance: Uses Tailwind/CSS variable-friendly color conventions for grid, text, tooltips, and highlights.
  • Data formatting recipes: Tick formatters for currency, percentages, compact numbers, and date formatting for axes.

Quick Start

Create your chart component by importing Recharts and wrapping the chosen chart (e.g., BarChart) inside ResponsiveContainer with an explicit width and height, then use XAxis/YAxis plus Tooltip and Legend.

Frequently Asked Questions about charts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make Recharts responsive across different screen sizes?

To make Recharts responsive, you must wrap your chart primitives like BarChart or LineChart inside a ResponsiveContainer with explicit width and height. This ensures your responsive charts render correctly and adapt to varying screen dimensions without broken layouts.

What's the best way to build a TypeScript analytics dashboard with Recharts?

The best way to build a TypeScript analytics dashboard is by composing Recharts chart primitives such as area, bar, and pie charts within a ResponsiveContainer. This approach provides consistent axis, grid, tooltip, and legend configuration for functional reporting views.

How do I format axis ticks for currency or percentages in Recharts?

You format axis ticks for currency, percentages, compact numbers, or dates in Recharts by applying tick formatters to your XAxis and YAxis components. This data formatting ensures readable and consistent visualizations across your analytics dashboard.

Can I style Recharts tooltips and grids using Tailwind CSS variables?

Yes, you can style Recharts tooltips, grids, text, and highlights using Tailwind CSS variables. This UX-focused styling guidance applies Tailwind and CSS variable-friendly color conventions to maintain consistent chart styling across your application.

Why does my Recharts chart not show up or render with broken dimensions?

Your Recharts chart renders with broken dimensions because it lacks a ResponsiveContainer wrapper. Enforcing ResponsiveContainer around chart primitives with explicit width and height resolves sizing issues and ensures correct functional rendering.

What chart types are supported for building interactive data visualizations?

Supported chart types for interactive data visualizations include basic, grouped, and stacked bar charts, single and multi-line trends, area charts, and pie or donut distributions. These composable chart elements support tooltips and legends for comprehensive analytics views.