- Home
- Skills
- Dennisadriaans
- Vue Chrts
- Bubble Chart
bubble-chart_skill
378
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill dennisadriaans/vue-chrts --skill bubble-chart- SKILL.md6.7 KB
Overview
This skill builds BubbleChart components for Vue 3 to visualize three-dimensional relationships by encoding x, y and size into circle position and radius. It is designed for scatter plots where a categorical key maps to bubble color and size encodes a third numeric variable. Use it to reveal clusters, outliers, and correlations in compact, interactive charts.
How this skill works
The component accepts an array of data objects plus three accessor functions: xAccessor, yAccessor and sizeAccessor to extract numeric values for position and radius. A required categoryKey links each data item to a color defined in a categories map. Additional props control sizeRange, axis formatters, labels, grid lines, opacity, legend and tooltips.
When to use it
- Compare three variables per item (two positional, one size) to surface correlations and trade-offs
- Highlight clusters and outliers across categories with color encoding
- Show performance matrices or market maps where size represents importance or volume
- When you need interactive legends and formatted axis labels for presentation-grade charts
- When compact visual summaries must show category-level differences at a glance
Best practices
- Always provide categoryKey and a complete categories mapping for every category value
- Normalize size values or choose an appropriate sizeRange to avoid overplotting or invisible bubbles
- Use opacity (0.4–0.8) when bubbles overlap to preserve visibility
- Provide xFormatter and yFormatter to improve axis readability (currency, percentages, units)
- Label axes (xLabel, yLabel) and add grid lines when precise comparisons are required
Example use cases
- Company performance map: revenue (x), growth (%) (y), employees (size), sector (color) for investor presentations
- Team performance matrix: velocity (x), quality (y), team size (size), status (color) to prioritize coaching
- Market analysis: product sales (x), profitability (y), market share (size), category (color) to spot opportunities
- Customer segmentation: recency (x), frequency (y), monetary value (size), cohort (color) to target campaigns
- Risk assessment: likelihood (x), impact (y), exposure (size), risk type (color) for dashboards
FAQ
Every unique categoryKey value must have an entry in categories. Missing values will not render with a defined color and can break the legend or visual grouping.
Can I use a constant bubble size for a simple scatter?
Yes. Set sizeAccessor accordingly or set sizeRange to the same value (e.g., [8,8]) to make all bubbles equal size.