Skip to main content
skill CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install custom-visuals@power-bi-agentic-development
Open on GitHub

What 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 ImageUrl extension measure inside reportExtensions.json
  • Bind custom KPI gauges to new card visuals using the pbir CLI

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-development

This 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-code

3Manually: put the files in place

~/.claude/skills/svg-visuals/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/svg-visuals/

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.

Similar skills

All skills for Data and databases →

From the same set59

The whole set →
c-sharp-scripting c-sharp-scripting is a Claude Code skill that runs C# scripts through Tabular Editor 2/3 to automate bulk changes to Power BI measures, columns, calculation groups, and model security. CX Codex +1 ★ 1,104repo stars pbip Guides Claude Code on structuring Power BI Project (PBIP) files, managing thick vs thin reports, and configuring Git tracking. CX Codex +1 ★ 1,104repo stars querying-fabric querying-fabric is a Claude Code skill that builds and tests DAX queries for Fabric and Power BI semantic models. It prepares data for dashboard KPIs, charts, and tables. CX Codex +1 ★ 1,104repo stars review-report review-report — a skill that runs a structured check on a Power BI report, telling you whether people actually open it and giving ranked recommendations. CX Codex +1 ★ 1,104repo stars pbir-format This skill helps Claude Code inspect Power BI reports in PBIR format and make changes through pbir. Use it to work with report pages, visuals, filters, and themes. CX Codex +1 ★ 1,104repo stars improve-my-agent-setup improve-my-agent-setup is a Claude Code skill that reviews an agent-assisted development setup and suggests changes. Run it for a setup check or a workflow assessment. CX Codex +1 ★ 1,104repo stars bpa-rules bpa-rules is a Claude Code skill for authoring Best Practice Analyzer rules for Power BI and Tabular Editor semantic models through guided discovery and model inspection. CX Codex +1 ★ 1,104repo stars audit-tenant-settings The audit-tenant-settings skill compares Fabric and Power BI tenant settings with a curated baseline, then surfaces drift and delegated overrides. Use it to examine governance changes and related security groups. CX Codex +1 ★ 1,104repo stars

Project sponsors

Companies that keep this analytics open