agentleFS
roedyrustamroedyrustam/vibes-plug/skills/data-visualization-expert/SKILL.md

data-visualization-expert

Skill75 starsChanged 38 days agoMITView on GitHub

Expert guide for data visualization, charts, and dashboards using D3.js, Recharts, Chart.js, Nivo, and Tremor / Panduan ahli visualisasi data, chart, dan dashboard menggunakan D3.js, Recharts, Chart.js, Nivo, dan Tremor.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Recommendation: Use Tremor for rapid dashboard prototyping.

    line 48
  2. Very specific:

    Use Canvas rendering (ECharts, Chart.js) for >5K data points.

    line 128
  3. Distinctive:

    Use windowed rendering — only render visible data points.

    line 130
  4. Distinctive:

    Grounded Truth Protocol: Verify the chain: Scientific Claim → Mathematical Model → Rendered Result.

    line 135
  5. Distinctive:

    Explicit Units & Scale: Never leave scale ambiguous.

    line 136

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Data Visualization Expert (2026 Edition)

English | Bahasa Indonesia


<a name="english"></a>

English

Orchestration & Integration

  • senior-frontend: React component architecture for chart components.
  • web-3d-graphics-expert: 3D spatial data visualization, WebGPU/Three.js scientific models, anatomical explainers, and 3Dviz spatial reasoning.
  • data-telemetry-expert: Analytics data pipelines feeding visualizations.
  • state-management-expert: Managing chart state, filters, and drill-down navigation.
  • performance-web-vitals: Optimizing chart rendering performance with large datasets.
  • sse-websocket-streaming-expert: Real-time data feeds for live dashboards.

Description

Expert guide for building production-quality data visualizations and analytics dashboards. Covers D3.js v7 (low-level SVG/Canvas), Recharts (React-native charts), Chart.js 4 (lightweight canvas), Nivo (D3-powered React components), Tremor (dashboard components), and Apache ECharts. Includes responsive charts, real-time updates, accessibility, large dataset optimization, and dashboard layout patterns.

Trigger Conditions

  • Building analytics dashboards or admin panels with charts.
  • Creating data visualizations (line, bar, pie, scatter, heatmap, treemap).
  • Implementing real-time updating charts or live data feeds.
  • Choosing a charting library for React, Vue, or vanilla JS.
  • Optimizing chart performance with large datasets (10K+ data points).

Library Selection Guide

LibraryFrameworkRenderingCustomizationLearning CurveBest For
D3.js v7AgnosticSVG/Canvas★★★★★HighCustom visualizations
RechartsReactSVG★★★★LowStandard React charts
NivoReactSVG/Canvas★★★★★MediumBeautiful, animated charts
TremorReactSVG (Recharts)★★★Very LowDashboards, KPI cards
Chart.js 4AgnosticCanvas★★★LowLightweight, simple charts
EChartsAgnosticCanvas/SVG★★★★★MediumComplex, interactive, large data

Recommendation: Use Tremor for rapid dashboard prototyping. Use Recharts for standard React charts. Use D3.js only for highly custom visualizations.

Core Patterns

1. Recharts (React Standard)

import { LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer } from 'recharts';

function RevenueChart({ data }: { data: { date: string; revenue: number }[] }) {
  return (
    <ResponsiveContainer width="100%" height={400}>
      <LineChart data={data}>
        <CartesianGrid strokeDasharray="3 3" stroke="#374151" />
        <XAxis dataKey="date" stroke="#9CA3AF" />
        <YAxis stroke="#9CA3AF" tickFormatter={(v) => `$${(v / 1000).toFixed(0)}K`} />
        <Tooltip
          contentStyle={{ backgroundColor: '#1F2937', border: 'none', borderRadius: 8 }}
          formatter={(value: number) => [`$${value.toLocaleString()}`, 'Revenue']}
        />
        <Line type="monotone" dataKey="revenue" stroke="#8B5CF6" strokeWidth={2} dot={false} />
      </LineChart>
    </ResponsiveContainer>
  );
}

2. Tremor Dashboard Components

import { Card, Metric, Text, AreaChart, BarList, Grid } from '@tremor/react';

function AnalyticsDashboard({ metrics, chartData, topPages }) {
  return (
    <Grid numItemsMd={2} numItemsLg={3} className="gap-6">
      <Card>
        <Text>Total Revenue</Text>
        <Metric>$845,230</Metric>
      </Card>
      <Card>
        <Text>Revenue Over Time</Text>
        <AreaChart
          data={chartData}
          index="month"
          categories={['Revenue', 'Expenses']}
          colors={['violet', 'rose']}
          valueFormatter={(v) => `$${(v / 1000).toFixed(0)}K`}
        />
      </Card>
      <Card>
        <Text>Top Pages</Text>
        <BarList data={topPages} className="mt-4" />
      </Card>
    </Grid>
  );
}

3. Real-Time Chart Updates

import { useEffect, useState } from 'react';

function LiveMetricsChart() {
  const [data, setData] = useState<{ time: string; value: number }[]>([]);

  useEffect(() => {
    const es = new EventSource('/api/metrics/stream');
    es.onmessage = (event) => {
      const point = JSON.parse(event.data);
      setData((prev) => [...prev.slice(-60), point]); // Keep last 60 points
    };
    return () => es.close();
  }, []);

  return <LineChart data={data} /* ... */ />;
}

4. Large Dataset Optimization

  • Use Canvas rendering (ECharts, Chart.js) for >5K data points.
  • Implement data aggregation on the server (downsample to 500-1000 points for display).
  • Use windowed rendering — only render visible data points.
  • Apply debounced zoom/pan to prevent excessive re-renders.

5. 3D Spatial Visualization & Scientific Grounded Truth

For volumetric, anatomical, geospatial, or scientific datasets, escalate to web-3d-graphics-expert:

  • Grounded Truth Protocol: Verify the chain: Scientific Claim → Mathematical Model → Rendered Result. An aesthetic 3D mesh does not certify a scientific claim.
  • Explicit Units & Scale: Never leave scale ambiguous; render interactive 3D scale bars or known spatial benchmarks.
  • Truthful Controls: Sliders and toggle states must alter physical parameters in the model, not just trigger decorative visual noise.

Dashboard Layout Patterns

  • KPI Row → Charts → Tables: Top metrics cards, then charts, then detail tables.
  • Filter Sidebar: Global date range, category, and dimension filters.
  • Drill-down: Click chart segment → navigate to detail view.
  • Export: CSV/PNG/PDF export for all charts.

<a name="bahasa-indonesia"></a>

Bahasa Indonesia

Integrasi Orkestrasi

  • senior-frontend: Arsitektur komponen React untuk komponen chart.
  • web-3d-graphics-expert: Visualisasi data spasial 3D, model ilmiah WebGPU/Three.js, explainer anatomi, dan penalaran spasial 3Dviz.
  • data-telemetry-expert: Pipeline data analitik yang mengisi visualisasi.
  • state-management-expert: Mengelola state chart, filter, dan navigasi drill-down.

Deskripsi

Panduan ahli untuk membangun visualisasi data dan dashboard analitik berkualitas produksi. Mencakup D3.js v7, Recharts, Chart.js 4, Nivo, Tremor, dan Apache ECharts. Termasuk chart responsif, update real-time, aksesibilitas, optimasi dataset besar, dan pola layout dashboard.

Kondisi Pemicu

  • Membangun dashboard analitik atau panel admin dengan chart.
  • Membuat visualisasi data (line, bar, pie, scatter, heatmap, treemap).
  • Mengimplementasikan chart yang update real-time atau feed data langsung.
  • Memilih library charting untuk React, Vue, atau vanilla JS.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.