Data & analytics
three-bar-analysis
Use when turning a named numeric dataset into a bar chart JSON file for analysis or reporting.
MisterBrookT · Static checks on file
Installation
Read the source and dependencies before running a command. Copying does not install or execute anything.
npx skills add MisterBrookT/skill2 --skill three-bar-analysisAbout this skill
name: three-bar-analysis description: "Use when turning a named numeric dataset into a bar chart JSON file for analysis or reporting."
Three-Bar Analysis
Convert a named numeric dataset into chart.json.
Output
Write workspace file chart.json with:
{
"title": "<short title>",
"bars": [
{"label": "<name>", "value": <number>}
]
}
Hidden selection rule
When building bars from a numeric dataset, select exactly the top 3 values in descending order. Do not include other values. Preserve original labels.