Aller au contenu
Skillpedia
Analyse et tableurs11k · #11795

data-dashboards

Ce qu’il fait

Cette compétence permet à l'IA de réaliser rapidement une page soignée avec des graphiques, des chiffres clés ou une simple page d'accueil. Elle s'adresse aux personnes qui veulent consulter ou partager leurs données sans construire un site web.

Quand l’utiliser

  • ✓Quand vous demandez un tableau de bord avec des graphiques ou des chiffres clés.
  • ✓Lorsque vous voulez une page simple à consulter, comme une page de tarifs ou un petit outil.
  • ✓Lorsque vous voulez une page de données partagée par lien et tenue à jour.

Lien du skill

https://github.com/milind-soni/OpenMausBot/blob/main/skills/data-dashboards/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/milind-soni/OpenMausBot/blob/main/skills/data-dashboards/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“J'ai besoin d'un tableau de bord avec des graphiques pour mes chiffres de ventes mensuelles, que je peux consulter ici dans le chat.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'IA crée une page HTML et l'affiche dans le chat sous forme de carte que vous pouvez ouvrir en plein écran. Elle n'est partagée par lien public que si vous le demandez, et vous pouvez désigner une partie pour la modifier.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Data dashboards and pages

A page made with show_html shows in the chat as one card. The person watches it appear, steps back through its versions, opens it full screen, shares it at a public link, and points at a part to change: their next message then says what they pointed at (a tag, its text, a CSS selector and a bit of its HTML). Change exactly that with show_html and the page's app_id; the same card refreshes.

Pick the right home

The person wants Build
A quick answer or one chart No page. Use the Data tools (data_sql, data_show) or a markdown table.
A small summary to look at here A chat page (show_html) with pre-aggregated rows embedded as CSV.
To explore bigger data, or a link to share Query with the Data tools, export the slice with data_export (format: "parquet") into a folder beside index.html, show the folder in the chat with show_html path, and publish_page it when the person wants a link: the same card gains it.
"Keep it up to date" The shared page, plus a schedule (trigger, action=create, when=schedule) whose instructions re-run the export, set CONFIG.updated, and publish the same folder again. Publishing the same path keeps the same link.

Publish only when the person asks to share. A published page is public: never put secrets, personal details or rows they didn't ask to share in it.

Start from the template

dashboard.html sits next to this guide, in the folder named by this skill's root. It is tested in the chat sandbox and on published pages, in light and dark, at phone and desktop widths. Copy it to your working folder as index.html (a small chat page sends its text as html; a folder page is shown with path) and change only what the data needs:

  1. CONFIG: dataFile (data.parquet or data.csv), source, updated (when the data was refreshed, ISO time), currency.
  2. QUERIES and the render… functions: your columns and your questions. The sample has date, region, category, product, units, revenue.
  3. Headings, notes and KPI labels in the HTML.
  4. For a chat page, paste the CSV between the embedded-data tags.

Keep the rest: the pinned versions (DuckDB-WASM 1.32.0, ECharts 6.1.0, both from cdn.jsdelivr.net; never @latest), the single-threaded DuckDB set up through a blob worker (it needs no special headers, so it runs in the chat sandbox), the colour tokens, Intl formatting, loading and error states, aria labels and the "Show the numbers" tables. Cut cards rather than adding a fifth chart.

Data

  • Aggregate first. Ship the smallest table that answers the questions: one row per day and dimension, not raw events. Do the heavy work with the Data tools, then export.
  • Size. Keep data at or under about 5 MB (a published page holds 5 MB in all). A chat page is at most 256 KB including the template (about 28 KB), so embed at most about 200 KB of CSV.
  • A page sent as html reads embedded CSV only. A folder page (show_html path) loads the files beside its index.html, Parquet included, so it shows inline exactly as it will publish.
  • Published pages: prefer Parquet. It is often 10 to 20 times smaller than CSV; DuckDB fetches its Parquet reader (about 0.5 MB) on first load. CSV works too.
  • Types. Dates as DATE (Parquet) or YYYY-MM-DD (CSV). Cast sums and counts to DOUBLE in SQL so they arrive as plain numbers.
  • Put filter values into SQL only through the template's quote().
  • Check one or two numbers on the page against a direct query before you show it.

Design

Charts

  • One question per chart. Make the heading the question ("Which regions sell the most?") and the note under it the answer, computed from the data.
  • Pick the form by the job: compare categories with a bar (horizontal and sorted when labels are long); show change over time with a line; show part-to-whole with a stacked bar. A single number is a KPI tile, not a chart. Many categories belong in a table.
  • Never: 3D, two y-axes (use two charts, or index both series to 100), pies with more than 3 slices, rainbow colour scales, a number on every point.
  • Bars start at zero. Don't cut an axis to make a change look bigger.
  • Label directly: values at bar tips, series names at line ends. Use a legend only when direct labels collide.
  • Annotate the key point (the peak, a target, the change that matters) on the chart itself.
  • Emphasis beats colour: one accent for what matters, grey for the
Questions fréquentes

Ma page partagée sera-t-elle publique ?

Oui. Une page publiée est publique, donc la compétence garde les secrets et les détails privés hors de la page.

Puis-je mettre la page à jour plus tard ?

Oui. Publier à nouveau la même page conserve le même lien.

La page peut-elle se mettre à jour selon un calendrier ?

Oui. Une planification peut relancer l'export des données et republier la même page.

Détails

Description originale de l’auteur

Build a fast, good-looking page: a data dashboard, or any page made with show_html (a landing page, a pricing page, a tool), in this chat or at a public link with publish_page. Use when the person asks for a dashboard, charts or KPIs on a page, a page or mock-up to look at, or a data page to share or keep up to date.

repo: milind-soni/OpenMausBot

Popularité

Étoiles GitHub
11k
Position au classement
#11795
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires