svg-visuals — Claude Code skill: what it does, how to install
svg-visuals builds inline SVG charts in Power BI PBIR reports using DAX formulas. Handy for rendering sparklines, bullet bars, and gauges inside tables or card visuals.
GPL-3.0 ★ 1,104 updated 2026-10-28
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install custom-visuals@power-bi-agentic-developmentWhat svg-visuals does
The skill drafts vector visualizations directly inside Power BI by packaging SVG code into DAX measures tagged with the ImageUrl data category. Output strings begin with the data:image/svg+xml;utf8, payload header. Power BI then treats these strings as embedded images in tables, matrix views, new cards, and button slicers. Changes are written into reportExtensions.json as report-level extension measures.
Work relies on the pbir CLI tool for report mutations. The skill prefers reusing existing user-defined DAX libraries like PowerofBI.IBCS or DaxLib.SVG instead of coding graphics manually. When a custom shape is required, it builds a formula structured with separated VAR blocks for scaling and geometry.
Color formatting has strict rules. Every fill and stroke must rely on plain hex values starting with #, because named color tokens or %23 URL escaping cause rendering failures.
What it helps with
- Add inline sparklines or bullet charts into Power BI matrix cells
- Configure dynamic vector artwork for new button slicers
- Create an
ImageUrlextension measure insidereportExtensions.json - Bind custom KPI gauges to new card visuals using the
pbirCLI
Example prompts for the agent
- Generate a DAX sparkline measure for the sales table in my PBIR report
- Create an inline SVG progress bar measure with ImageUrl data category
- Add a bullet chart extension measure for the new card visual
How to install svg-visuals
1Plugin marketplace
/plugin marketplace add data-goblin/power-bi-agentic-development/plugin install custom-visuals@power-bi-agentic-developmentThis installs the whole custom-visuals plugin with all its skills
2Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill svg-visuals -a claude-code3Manually: put the files in place
~/.claude/skills/svg-visuals/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/svg-visuals/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill svg-visuals -a codex2Manually: put the files in place
.agents/skills/svg-visuals/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill svg-visuals -a cursor2Manually: put the files in place
.cursor/skills/svg-visuals/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install data-goblin/power-bi-agentic-development plugins/custom-visuals/skills/svg-visuals2Manually: put the files in place
.github/skills/svg-visuals/SKILL.md1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill svg-visuals -a gemini-cli2Platform CLI
gemini skills install https://github.com/data-goblin/power-bi-agentic-development --path plugins/custom-visuals/skills/svg-visualsManually: put the files in place
.devin/skills/svg-visuals/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about svg-visuals
How to install svg-visuals in Claude Code?
Run npx skills add data-goblin/power-bi-agentic-development --skill svg-visuals -a claude-code in your terminal.
What does the svg-visuals skill do?
It creates DAX formulas that output SVG strings marked as ImageUrl for Power BI reports. This allows rendering mini-charts inside matrix cells, tables, cards, and slicers.
What visual components support these SVG measures?
They render in tables, matrices, image visuals, the new card visual, and the advanced button slicer within PBIR reports.