universal-dataviz-architect
/universal-dataviz-architect
Dobiera metody i pisze kod wykresów, dashboardów i map z 60 metod wizualizacji w wielu językach.
- Autor
- megafly-25 ↗
- Repozytorium
- universal-data-visualization-skill ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 24.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 5
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 16
Brak sygnałów. Repozytorium zmienione 24.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Dobiera metody i pisze kod wykresów, dashboardów i map z 60 metod wizualizacji w wielu językach.
Oryginalny opis (EN)
Universal Data Visualization Architect and Code Generation Engine supporting 60 statistical, topological, financial, and geospatial visualization methods. Trigger whenever the user asks to choose, design, structure data for, or code charts, dashboards, diagrams, or maps in any programming language (TypeScript/JavaScript, Python, R, C#/.NET, Go, Rust, SQL/DAX) or library (Apache ECharts, Chart.js, D3.js, Plotly, Seaborn, Matplotlib, ggplot2, LiveCharts2, Vega-Lite, Mermaid.js).
Jak działa
- Skill Purpose
- Mandatory Execution Pipeline for the AI Agent
- 1. Selection Guide by Analytical Intent (16 Functions)
- 2. Structural Typology Classification (5 Families)
- 3. Master Quick-Reference Matrix (All 60 Methods)
- 4. Technical & Programmatic Encyclopedia of the 60 Methods
- 5. Pro Ecosystem, MCP Server & Sponsorship
- Credits & License (MIT License)
Podgląd SKILL.md
---
name: universal-dataviz-architect
description: "Universal Data Visualization Architect and Code Generation Engine supporting 60 statistical, topological, financial, and geospatial visualization methods. Trigger whenever the user asks to choose, design, structure data for, or code charts, dashboards, diagrams, or maps in any programming language (TypeScript/JavaScript, Python, R, C#/.NET, Go, Rust, SQL/DAX) or library (Apache ECharts, Chart.js, D3.js, Plotly, Seaborn, Matplotlib, ggplot2, LiveCharts2, Vega-Lite, Mermaid.js)."
author: "Jorge Luis Rivera Claro"
github: "https://github.com/megafly-25"
repository: "https://github.com/megafly-25/universal-data-visualization-skill"
funding:
- "https://github.com/sponsors/megafly-25"
- "https://ko-fi.com/megafly25"
- "https://paypal.me/megafly25"
license: "MIT"
version: "1.0.0"
tags:
- data-visualization
- charts
- graphs
- dashboards
- echarts
- d3js
- plotly
- ggplot2
- business-intelligence
- mcp
- agent-skill
---
# Universal Data Visualization Architect Skill (60 Methods)
> **Creator / Author:** Jorge Luis Rivera Claro
> **GitHub:** [https://github.com/megafly-25](https://github.com/megafly-25)
> **License:** MIT License (100% Open Source — Grounded in universal mathematical, statistical, and *Grammar of Graphics* principles in the technical public domain).
---
## Skill Purpose
This Skill equips any Artificial Intelligence model (Claude, Gemini, GPT, Llama, DeepSeek, etc.) with an expert analytical decision engine and code generator covering **60 data visualization methods**. It transforms business queries or raw datasets into mathematically rigorous, accessible, and production-ready visualizations across any programming language.
> **Multilingual Execution Note:** While this specification is written in English for universal interoperability, always respond, explain, and comment the generated code in the **user's prompt language** (e.g., Spanish, English, Portuguese, etc.).
---
## Mandatory Execution Pipeline for the AI Agent
When this Skill is triggered, the AI model must strictly execute the following **5 steps**:
### Step 1: Analytical Intent & Cardinality Diagnosis
Analyze the core question the user wants to answer (*Comparison, Distribution, Part-to-Whole, Time Series, Relationship/Correlation, Flow, Hierarchy, or Geospatial*) and evaluate the **Data Shape**:
* **Variable Types:** Nominal, Ordinal, Continuous Quantitative, Discrete Quantitative, Temporal (ISO 8601), or Geospatial Coordinates ($\text{Lat}, \text{Lon}$ / GeoJSON).
* **Dataset Scale:** Row volume ($n$) and dimensionality ($k$).
### Step 2: Optimal Visualization Selection
Consult **Section 1 (Analytical Intent Guide)** and **Section 3 (Master Reference Matrix)** to select the exact method among the 60 available. If the user requests an inappropriate chart for their data shape (e.g., a Pie Chart for 25 categories, or a Choropleth Map using raw unnormalized totals), **proactively correct them** and provide the mathematically sound alternative.
### Step 3: Data Schema Validation
Transform or structure the input data according to the `Data Schema` contract specified in **Section 4** for the chosen chart.
### Step 4: Language-Agnostic Tech Stack Selection
If the user specifies a language or library, use it. Otherwise, select the industry standard matching their project environment:
* **Web Frontend (Angular, React, Vue, Svelte, HTML5):** Apache ECharts, Chart.js, D3.js, Plotly.js, ApexCharts, or Leaflet/MapLibre (maps).
* **Python (Data Science / Backend / Notebooks):** Plotly (`plotly.express` / `graph_objects`), Seaborn, Matplotlib, or Altair.
* **R (Statistics / Research):** `ggplot2` and `tidyverse` ecosystem extensions.
* **.NET (Blazor, MAUI, WPF, WinForms):** LiveCharts2, ScottPlot, or ApexCharts.NET.
* **Declarative / Documentation / BI:** Vega-Lite, Mermaid.js (diagrams), or DAX/Power BI.
### Step 5: Unbreakable Visual & Mathematical Integrity Rules
1. **Law of 2D Area Scaling:** In any visualization based on circles or 2D shapes (Bubble Chart, Proportional Area Chart, Bubble Map), **the numeric value must be mapped to the Area ($A = \pi r^2$), never linearly to the radius or diameter**. Always compute the radius as $r = k \cdot \sqrt{\text{value}}$.
2. **Law of Zero Baseline:** In Bar Charts, Column Charts, Stacked Area Charts, and Histograms, **the quantitative axis must strictly start at `0`** to prevent optical distortion of proportions.
3. **Cartographic Normalization:** In Choropleth Maps (#52), never plot raw absolute counts; strictly require rates, percentages, per-capita metrics, or density per $\text{km}^2$.
4. **Colorblind Accessibility:** Prioritize colorblind-safe palettes (*Viridis*, *Cividis*, *Okabe-Ito*) and WCAG AA contrast compliance.
---
## 1. Selection Guide by Analytical Intent (16 Functions)
### 1.1. Lexical & Text Frequency Analysis
Reveals semantic patterns and term weights within unstructured text corpora.
* **Methods:** Word Cloud (#59).
### 1.2. Explaining Systems & Internal Mechanics
Illustrates operational mechanics, logical sequences, or resource transfers within a system.
* **Methods:** Flowchart (#10), Annotated Illustration (#11), Sankey Diagram (#14).
### 1.3. Comparing Magnitudes Across Categories
Contrasts differences or similarities across discrete groups.
* **With Cartesian/Polar Axes:** Bar/Column Chart (#46), Grouped Bar Chart (#22), Stacked Bar Chart (#28), Bullet Graph (#27), Box and Whisker Plot (#4), Bubble Chart (#30), Histogram (#48), Line Chart (#23), Marimekko Plot (#12), Nightingale Rose Chart (#44), Parallel Coordinates (#33), Population Pyramid (#60), Radar Chart (#45), Radial Bar Chart (#29), Radial Column Chart (#31), Span/Range Chart (#42), Stacked Area Chart (#25).
* **Axis-Free / Non-Cartesian:** Chord Diagram (#7), Choropleth Map (#52), Donut Chart (#35), Dot Matrix / Waffle Chart (#39), Matrix Heatmap (#55), Parallel Sets (#3), Pictogram Chart (#40), Pie Chart (#47), Proportional Area Chart (#26), Tally Chart (#32), Treemap (#53), Venn Diagram (#17).
### 1.4. Conceptualization, Logic & Ideation
Structures abstract ideas, logical set intersections, and brainstorming workflows.
* **Methods:** Mind Map / Brainstorming (#51), Flowchart (#10), Annotated Illustration (#11), Venn Diagram (#17).
### 1.5. Time Series & Chronological Evolution
Analyzes trends, seasonality, volatility, and event sequences over time.
* **Continuous Trends & Metrics:** Line Chart (#23), Area Chart (#21), Stacked Area Chart (#25), Streamgraph / ThemeRiver (#36), Candlestick Chart (#43), OHLC Chart (#24), Spiral Plot (#19), Bubble Chart (#30), Matrix Heatmap (#55), Histogram (#48), Nightingale Rose Chart (#44).
* **Scheduling & Event Sequences:** Gantt Chart (#37), Timeline (#50), Calendar View (#2), Timetable / Schedule Matrix (#49).
### 1.6. Proportions & Geometric Scaling Dimensions
Uses geometric area, angle, or physical size to encode quantitative magnitudes.
* **Relative Sizes:** Bubble Chart (#30), Bubble Map (#54), Circle Packing (#20), Dot Matrix (#39), Nightingale Rose Chart (#44), Proportional Area Chart (#26), Stacked Bar Chart (#28), Word Cloud (#59).
* **Part-to-Whole Proportions:** Donut Chart (#35), Pie Chart (#47), Marimekko Plot (#12), Parallel Sets (#3), Sankey Diagram (#14), Treemap (#53).
### 1.7. Statistical Distribution & Frequency
Shows how data points disperse, cluster, or concentrate across a continuous or discrete interval.
* **General Statistical:** Histogram (#48), Kernel Density Estimate - KDE (#34), Box and Whisker Plot (#4), Violin Plot (#18), Stem-and-Leaf Plot (#15), Tally Chart (#32), Dot Matrix (#39), Grouped Bar Chart (#22), Parallel Sets (#3), Pictogram Chart (#40), Timeline (#50), Bubble Chart (#30).
* **Spatial / Demographic / Lexical:** Dot Distribution Map (#57), Connection Map (#56), Flow Map (#58), Population Pyramid (#60), Word Cloud (#59).
### 1.8. Exact Lookup & Reference Tool
Enables high-precision lookup of individual data points, hierarchies, or schedules.
* **Methods:** Calendar View (#2), Gantt Chart (#37), Timetable / Schedule Matrix (#49), Tree Diagram (#5), Stem-and-Leaf Plot (#15).
### 1.9. Hierarchical & Nested Structures
Represents parent-child relationships, organizational trees, and multi-level partitions.
* **Methods:** Tree Diagram (#5), Treemap (#53), Sunburst Chart (#16), Circle Packing (#20).
### 1.10. Movement, Transfer & Flow
Traces the displacement of volumes, states, or entities from origin to destination.
* **Methods:** Sankey Diagram (#14), Parallel Sets (#3), Flow Map (#58), Connection Map (#56).
### 1.11. Part-to-Whole Composition
Breaks down how a total entity ($100\%$) is divided into its constituent components.
* **Methods:** Donut Chart (#35), Pie Chart (#47), 100% Stacked Bar Chart (#28), Treemap (#53), Sunburst Chart (#16), Marimekko Plot (#12).
### 1.12. Pattern, Trend & Anomaly Detection
Uncovers underlying behaviors, clusters, cycles, or statistical outliers.
* **Methods:** Scatter Plot (#9), Matrix Heatmap (#55), Parallel Coordinates (#33), Kagi Chart (#38), Point and Figure Chart (#41), Candlestick Chart (#43), OHLC Chart (#24), Arc Diagram (#6), Area Chart (#21), Stacked Area Chart (#25), Bar Chart (#46), Grouped Bar Chart (#22), Box Plot (#4), Violin Plot (#18), Bubble Chart (#30), Density Plot (#34), Histogram (#48), Line Chart (#23), Population Pyramid (#60), Radar Chart (#45), Spiral Plot (#19), Streamgraph (#36), Timeline (#50), Dot Matrix (#39), Choropleth Map (#52), Connection Map (#56), Dot Map (#57).
### 1.13. Process & Methodology Modeling
Documents sequential stages, workflows, and operational dependencies.
* **Methods:** Flowchart (#10), Gantt Chart (#37), Sankey Diagram (#14), Parallel Sets (#3), Annotated Illustration (#11).
### 1.14. Range & Variability Analysis
Visualizes the spread between minimum and maximum bounds, confidence intervals, or dispersion.
* **Methods:** Error Bars (#1), Span / Range Chart (#42), Box and Whisker Plot (#4), Violin Plot (#18), Bullet Graph (#27), Candlestick Chart (#43), OHLC Chart (#24), Kagi Chart (#38), Gantt Chart (#37), Histogram (#48).
### 1.15. Relationships, Networks & Correlations
Analyzes how multiple entities interact or how one variable statistically impacts another.
* **Statistical Correlation:** Scatter Plot (#9), Bubble Chart (#30), Matrix Heatmap (#55), Parallel Coordinates (#33), Marimekko Plot (#12), Radar Chart (#45).
* **Network & Graph Topology:** Network Graph (#13), Chord Diagram (#7), Non-Ribbon Chord Diagram (#8), Arc Diagram (#6), Tree Diagram (#5), Connection Map (#56), Venn Diagram (#17), Mind Map (#51).
### 1.16. Geospatial & Location Analysis
Projects metrics across terrestrial coordinates or political boundaries.
* **Methods:** Choropleth Map (#52), Bubble Map (#54), Dot Distribution Map (#57), Connection Map (#56), Flow Map (#58).
---
## 2. Structural Typology Classification (5 Families)
1. **Cartesian & Polar Charts/Plots (27):** Error Bars (#1), Box and Whisker Plot (#4), Scatter Plot (#9), Marimekko Plot (#12), Violin Plot (#18), Spiral Plot (#19), Area Chart (#21), Grouped Bar Chart (#22), Line Chart (#23), OHLC Chart (#24), Stacked Area Chart (#25), Bullet Graph (#27), Stacked Bar Chart (#28), Radial Bar Chart (#29), Bubble Chart (#30), Radial Column Chart (#31), Parallel Coordinates (#33), Density Plot (#34), Streamgraph (#36), Kagi Chart (#38), Point and Figure Chart (#41), Span/Range Chart (#42), Candlestick Chart (#43), Radar Chart (#45), Bar/Column Chart (#46), Histogram (#48), Population Pyramid (#60).
2. **Topological & Flow Diagrams (11):** Tree Diagram (#5), Arc Diagram (#6), Chord Diagram (#7), Non-Ribbon Chord Diagram (#8), Flowchart (#10), Annotated Illustration (#11), Network Graph (#13), Sankey Diagram (#14), Venn Diagram (#17), Timeline (#50), Mind Map (#51).
3. **Tabular & Matrix Structures (6):** Calendar View (#2), Stem-and-Leaf Plot (#15), Tally Chart (#32), Gantt Chart (#37), Timetable/Schedule (#49), Matrix Heatmap (#55).
4. **Area-Based, Pictorial & Free Hierarchy Visuals (11):** Parallel Sets (#3), Sunburst Chart (#16), Circle Packing (#20), Proportional Area Chart (#26), Donut Chart (#35), Dot Matrix/Waffle (#39), Pictogram Chart (#40), Nightingale Rose (#44), Pie Chart (#47), Treemap (#53), Word Cloud (#59).
5. **Cartography & Geospatial Maps (5):** Choropleth Map (#52), Bubble Map (#54), Connection Map (#56), Dot Distribution Map (#57), Flow Map (#58).
---
## 3. Master Quick-Reference Matrix (All 60 Methods)
| # | Visualization Method | Spanish Equivalent | Structural Family | Data Complexity | Code Primitive Type |
|---|---|---|---|---|---|
| 1 | **Error Bars** | Barras de Error | Charts / Plots | Univariate / Bivariate + Uncertainty | `errorbar` / `custom whisker` |
| 2 | **Calendar Heatmap / View** | Calendario | Tables | Temporal (Date + Value/Event) | `calendar` / `matrix grid` |
| 3 | **Parallel Sets** | Conjuntos Paralelos | Miscellaneous | Multivariate Categorical | `sankey` / `parcats` |
| 4 | **Box and Whisker Plot** | Diagrama Cajas y Bigotes | Charts / Plots | Quantitative Distribution by Group | `boxplot` |
| 5 | **Tree Diagram / Dendrogram** | Diagrama de Árbol | Diagrams | Hierarchical (Parent -> Child) | `tree` / `hierarchy` |
| 6 | **Arc Diagram** | Diagrama de Arco | Diagrams | Network (Nodes + Links in 1D) | `graph` (linear layout) |
| 7 | **Chord Diagram** | Diagrama de Cuerdas | Diagrams | Bidirectional Flow Matrix | `chord` / `dependencywheel` |
| 8 | **Non-Ribbon Chord / Bundle** | Diagrama de Cuerdas Sin Cinta | Diagrams | Circular Graph with Edge Bundling | `edgebundling` / `circular graph` |
| 9 | **Scatter Plot** | Diagrama de Dispersión | Charts / Plots | Quantitative Bivariate ($X, Y$) | `scatter` |
| 10 | **Flowchart** | Diagrama de Flujo | Diagrams | Directed Process Graph | `flowchart` (Mermaid / DAG) |
| 11 | **Annotated Illustration** | Diagrama de Ilustración | Diagrams | Annotated Spatial / Conceptual | `svg annotations` / `canvas overlay` |
| 12 | **Marimekko / Mosaic Plot** | Diagrama de Marimekko | Charts / Plots | Categorical + Quantitative Bivariate | `marimekko` / `variwide stacked` |
| 13 | **Network Graph** | Diagrama de Red | Diagrams | Node-Link Topology (Force-Directed) | `graph` / `force-directed` |
| 14 | **Sankey Diagram** | Diagrama de Sankey | Diagrams | Directed Acyclic Flow (Source->Target) | `sankey` |
| 15 | **Stem-and-Leaf Plot** | Diagrama de Tallos y Hojas | Tables | Numeric Distribution by Place Value | `text table` / `stem` |
| 16 | **Sunburst Chart** | Diagrama de Tarta Multinivel | Miscellaneous | Proportional Radial Hierarchy | `sunburst` |
| 17 | **Venn / Euler Diagram** | Diagrama de Venn | Diagrams | Logical Set Intersection | `venn` |
| 18 | **Violin Plot** | Diagrama de Violín | Charts / Plots | KDE Density + Quartiles by Group | `violin` |
| 19 | **Spiral Plot** | Diagrama en Espiral | Charts / Plots | Cyclic Time Series on Archimedean Spiral | `polar spiral` / `custom svg` |
| 20 | **Circle Packing** | Embalaje Circular | Miscellaneous | Hierarchy via Nested Circles | `pack` / `circlepacking` |
| 21 | **Area Chart** | Gráfica de Área | Charts / Plots | Continuous Time Series ($X, Y$) | `area` |
| 22 | **Grouped / Clustered Bar Chart** | Gráfica de Barras Agrupadas | Charts / Plots | Multi-Series Categorical | `bar` (grouped) |
| 23 | **Line Chart** | Gráfica de Línea | Charts / Plots | Continuous / Temporal Series ($X, Y$) | `line` |
| 24 | **OHLC Chart** | Gráfico OHLC | Charts / Plots | Temporal Financial (4 variables) | `ohlc` |
| 25 | **Stacked Area Chart** | Gráfico de Área Apilada | Charts / Plots | Cumulative Multi-Series Time Series | `area` (stacked) |
| 26 | **Proportional Area Chart** | Gráfico de Área Proporcional | Miscellaneous | Quantitative Categorical via 2D Area | `scaled shapes` / `bubble` |
| 27 | **Bullet Graph** | Gráfico de Bala | Charts / Plots | KPI: Actual vs Target + Qualitative Ranges | `bullet` |
| 28 | **Stacked Bar Chart (Simple / 100%)** | Gráfico de Barras Apiladas | Charts / Plots | Compositional Multi-Series Categorical | `bar` (stacked / percent) |
| 29 | **Radial Bar / Circular Gauge** | Gráfico de Barras Radial | Charts / Plots | Categorical in Polar Coordinates | `polar bar` / `solidgauge` |
| 30 | **Bubble Chart** | Gráfico de Burbujas | Charts / Plots | Multivariate ($X, Y, \text{Size}, \text{Color}$) | `bubble` / `scatter` |
| 31 | **Radial Column / Star Bar** | Gráfico de Columna Radial | Charts / Plots | Categorical / Cyclic on Polar Grid | `polar column` |
| 32 | **Tally Chart** | Gráfico de Conteo | Tables | Discrete Unitary Frequency | `tally table` |
| 33 | **Parallel Coordinates** | Gráfico de Coordenadas Paralelas | Charts / Plots | Multivariate Numeric ($N$ dimensions) | `parallel` / `parcoords` |
| 34 | **Kernel Density Estimate (KDE)** | Gráfico de Densidad | Charts / Plots | Smoothed Continuous Distribution | `kde` / `density` |
| 35 | **Donut / Doughnut Chart** | Gráfico de Dónut | Miscellaneous | Part-to-Whole Composition | `pie` (`innerRadius > 0`) |
| 36 | **Streamgraph / ThemeRiver** | Gráfico de Flujo | Charts / Plots | Organic Multi-Series Time Series | `themeRiver` / `streamgraph` |
| 37 | **Gantt Chart** | Gráfico de Gantt | Tables | Project Schedule (Start, End, Dep.) | `gantt` / `rangeBar` |
| 38 | **Kagi Chart** | Gráfico de Kagi | Charts / Plots | Time-Independent Price Action | `kagi` |
| 39 | **Dot Matrix / Waffle Chart** | Gráfico de Matriz de Puntos | Miscellaneous | Discrete Grid Proportions | `waffle` / `dot matrix` |
| 40 | **Pictogram / Isotype Chart** | Gráfico de Pictogramas | Miscellaneous | Discrete Count via Repeated SVG Icons | `pictorialBar` |
| 41 | **Point and Figure (P&F) Chart** | Gráfico de Puntos y Figuras | Charts / Plots | Financial Supply/Demand via X/O Columns | `pnf` / `custom grid` |
| 42 | **Span / Range / Floating Bar** | Gráfico de Vanos (Rangos) | Charts / Plots | Range by Category ($\text{Min}, \text{Max}$) | `rangeBar` / `columnrange` |
| 43 | **Candlestick Chart** | Gráfico de Velas | Charts / Plots | Financial Time Series (Open, High, Low, Close) | `candlestick` |
| 44 | **Nightingale Rose / Polar Area** | Gráfico Nightingale Rose | Miscellaneous | Categorical/Cyclic by Polar Sector Area | `polarArea` / `roseType` |
| 45 | **Radar / Spider Chart** | Gráfico Radial | Charts / Plots | Comparative Multivariate Polygon | `radar` |
| 46 | **Bar / Column Chart** | Gráficos de Barras | Charts / Plots | Categorical vs Quantitative | `bar` / `column` |
| 47 | **Pie Chart** | Gráficos de Tarta | Miscellaneous | Simple Part-to-Whole Composition | `pie` |
| 48 | **Histogram** | Histograma | Charts / Plots | Frequency Across Continuous Bins | `histogram` |
| 49 | **Timetable / Schedule Matrix** | Horario | Tables | Event & Time-Slot Reference Matrix | `dataGrid` / `schedule` |
| 50 | **Timeline** | Línea de Tiempo | Diagrams | Chronological Sequence of Events | `timeline` |
| 51 | **Mind Map / Brainstorming** | Lluvia de Ideas (Mapa Mental) | Diagrams | Free Radial Conceptual Tree | `mindmap` / `tree` |
| 52 | **Choropleth Map** | Mapa Coroplético | Maps / Geospatial | GeoJSON Polygons Colored by Metric | `choropleth` / `geoJson` |
| 53 | **Treemap** | Mapa de Árbol | Miscellaneous | Hierarchy via Rectangular Partitioning | `treemap` |
| 54 | **Bubble Map / Proportional Symbol** | Mapa de Burbujas | Maps / Geospatial | Coordinates ($\text{Lat}, \text{Lon}$) + Area Scale | `scattergeo` / `map bubble` |
| 55 | **Matrix Heatmap** | Mapa de Calor (Matriz) | Tables | Cross-Matrix ($X, Y$) Encoded by Color | `heatmap` |
| 56 | **Connection / Link Map** | Mapa de Conexiones | Maps / Geospatial | Coordinate Pairs Joined by Geodesic Arcs | `lines3D` / `geo lines` |
| 57 | **Dot Distribution Map** | Mapa de Puntos | Maps / Geospatial | Coordinate Cloud ($\text{Lat}, \text{Lon}$) | `scattermapbox` / `geo points` |
| 58 | **Flow Map** | Mapa del Flujo | Maps / Geospatial | Weighted Geospatial Vectors | `flowmap` / `weighted geo lines` |
| 59 | **Word Cloud / Tag Cloud** | Nube de Palabras | Miscellaneous | Tuples (Word, Frequency) | `wordCloud` |
| 60 | **Population Pyramid** | Pirámide de Población | Charts / Plots | Bilateral Diverging Histogram | `diverging bar` |
---
## 4. Technical & Programmatic Encyclopedia of the 60 Methods
### 4.1. Error Bars (`Barras de Error`)
* **Analytical Function:** Ranges, Statistical Uncertainty.
* **Technical Definition:** Graphical overlay applied over Cartesian markers (bars, lines, or points) representing statistical variability, margin of error, standard deviation ($\sigma$), or confidence intervals (e.g., $95\%$ CI) of a measurement.
* **Data Schema:**
```json
[{ "category": "Group A", "mean": 45.2, "errorMinus": 3.1, "errorPlus": 3.5 }]
```
* **Multi-Language Implementation:**
* **JS/TS (Plotly.js / ECharts):** In Plotly use `error_y: { type: 'data', array: [...], arrayminus: [...] }`. In ECharts use a `custom` series rendering capped whisker lines.
* **Python:** `matplotlib.pyplot.errorbar(x, y, yerr=[minus, plus], fmt='o', capsize=5)` or Seaborn `sns.barplot(..., errorbar='sd')`.
* **R:** `ggplot(df, aes(x, y)) + geom_point() + geom_errorbar(aes(ymin=y-sd, ymax=y+sd), width=0.2)`.
* **AI Generation Rules:** Support both symmetric ($\pm e$) and asymmetric ($-e_1, +e_2$) bounds. Always state in the subtitle or legend whether the bars represent $\sigma$, Standard Error (SE), or a $95\%$ Confidence Interval.
### 4.2. Calendar View / Heatmap (`Calendario`)
* **Analytical Function:** Time Series, Reference Tool.
* **Technical Definition:** Grid structured into chronological units (days of the week across rows/columns grouped by months and years) where each cell hosts scheduled events or is shaded according to the intensity of a daily metric (e.g., GitHub contribution grid).
* **Data Schema:**
```json
[{ "date": "2026-10-23", "value": 14, "events": ["Deploy v2.1"] }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Apache ECharts (`coordinateSystem: 'calendar'`), FullCalendar, or Cal-Heatmap.
* **Python:** `calplot` (`calplot.calplot(series)`) or `plotly` using `px.imshow` mapping week-of-year vs. day-of-week.
* **R:** `calendR` package or `ggplot2` with `geom_tile()` faceted by month.
* **AI Generation Rules:** Normalize all dates to ISO 8601 (`YYYY-MM-DD`) before rendering.
### 4.3. Parallel Sets (`Conjuntos Paralelos`)
* **Analytical Function:** Categorical Flow, Proportions, Multivariate Distribution.
* **Technical Definition:** Multidimensional flow visualization strictly for categorical variables. Displays how population frequencies subdivide across multiple parallel dimensions using proportional ribbons without arrowheads.
* **Data Schema:**
```json
[{ "gender": "M", "tier": "Pro", "status": "Active", "count": 120 }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Plotly.js (`type: 'parcats'`) or D3.js (`d3-parsets`).
* **Python:** `plotly.express.parallel_categories(df, dimensions=['gender', 'tier', 'status'], color='count')`.
* **R:** `ggforce` (`geom_parallel_sets()`) or `ggalluvial`.
* **AI Generation Rules:** Do not confuse with *Parallel Coordinates* (#33, which uses continuous numerical axes). Limit to 4–6 categorical dimensions to avoid visual clutter.
### 4.4. Box and Whisker Plot (`Diagrama Cajas y Bigotes`)
* **Analytical Function:** Distribution, Ranges, Statistical Comparison.
* **Technical Definition:** Non-parametric five-number statistical summary: non-outlier minimum, first quartile ($Q_1$, 25th percentile), median ($Q_2$, 50th percentile), third quartile ($Q_3$, 75th percentile), and non-outlier maximum. The box spans the Interquartile Range ($\text{IQR} = Q_3 - Q_1$) and whiskers extend up to $1.5 \times \text{IQR}$. Values beyond are plotted individually as outliers.
* **Data Schema:**
```json
[{ "group": "Server A", "values": [12, 15, 14, 18, 22, 95] }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Apache ECharts (`type: 'boxplot'`), Plotly.js (`type: 'box'`), or Chart.js (`@sgratzl/chartjs-chart-boxplot`).
* **Python:** `seaborn.boxplot(data=df, x='group', y='latency')` or `px.box()`.
* **R:** `ggplot(df, aes(x=group, y=val)) + geom_boxplot(outlier.colour="red")`.
* **AI Generation Rules:** If sample size is small ($n < 30$), overlay jittered individual points (`stripplot`) so the true sample size is not hidden.
### 4.5. Tree Diagram / Dendrogram (`Diagrama de Árbol`)
* **Analytical Function:** Hierarchy, Organizational Structure, Reference.
* **Technical Definition:** Connected acyclic graph starting at a root node and branching via links toward intermediate nodes and terminal leaf nodes. Can be oriented orthogonally (vertical/horizontal) or radially.
* **Data Schema:**
```json
{ "name": "CEO", "children": [{ "name": "CTO", "children": [{ "name": "Tech Lead" }] }] }
```
* **Multi-Language Implementation:**
* **JS/TS:** Apache ECharts (`type: 'tree'`), D3.js (`d3.tree()` or `d3.cluster()`).
* **Python:** `scipy.cluster.hierarchy.dendrogram` or `networkx` with `graphviz_layout(G, prog='dot')`.
* **Markdown/Diagramming:** Mermaid.js (`graph TD`).
* **AI Generation Rules:** If the tree exceeds 3 levels of depth and 50 nodes, enable interactive branch collapsing (`expandAndCollapse: true`).
### 4.6. Arc Diagram (`Diagrama de Arco`)
* **Analytical Function:** Relationships, Co-occurrence, Sequential Patterns.
* **Technical Definition:** Graph representation where all nodes are aligned along a single one-dimensional axis (horizontal or vertical) and edges are drawn as semicircular Bézier arcs whose thickness encodes connection weight.
* **Data Schema:**
```json
{ "nodes": [{"id": "A"}, {"id": "B"}], "links": [{"source": "A", "target": "B", "weight": 5}] }
```
* **Multi-Language Implementation:**
* **JS/TS:** D3.js (`d3.arc()` generator over a linear scale), Vega, or Highcharts (`type: 'arcdiagram'`).
* **Python:** `altair` or `matplotlib` using `patches.Arc`.
* **R:** `ggraph` (`ggraph(graph, layout = 'linear') + geom_edge_arc() + geom_node_point()`).
* **AI Generation Rules:** Node ordering along the axis is critical; sort nodes by community clusters or chronological sequence to minimize arc crossings.
### 4.7. Chord Diagram (`Diagrama de Cuerdas`)
* **Analytical Function:** Bidirectional Relationships, Flow Comparison.
* **Technical Definition:** Circular layout where entities are positioned as arcs along the outer circumference and inter-entity flows are drawn as internal ribbons whose width is proportional to the exchanged volume.
* **Data Schema:** Square $N \times N$ adjacency matrix or source-target edge list:
```json
{ "names": ["A", "B"], "matrix": [[0, 50], [30, 0]] }
```
* **Multi-Language Implementation:**
* **JS/TS:** D3.js (`d3.chord()` + `d3.ribbon()`), Highcharts (`dependencywheel`), amCharts.
* **Python:** `holoviews` (`hv.Chord(links)`), `pyCircos`, or `mpl_chord_diagram`.
* **R:** `circlize` package (`chordDiagram(mat)`).
* **AI Generation Rules:** If there are more than 12–15 categories, group minor ones into "Others" and enable hover adjacency highlighting (`focusNodeAdjacency`) to prevent visual clutter.
### 4.8. Non-Ribbon Chord / Hierarchical Edge Bundling (`Diagrama de Cuerdas Sin Cinta`)
* **Analytical Function:** Complex Relationships, Software/System Dependencies.
* **Technical Definition:** Simplified variant of the chord diagram where nodes are arranged in a circle and connected via bundled spline curves (*edge bundling*) of uniform thickness, prioritizing dependency topology over flow volume.
* **Data Schema:**
```json
[{ "name": "app.moduleA", "imports": ["app.moduleB", "core.utils"] }]
```
* **Multi-Language Implementation:**
* **JS/TS:** D3.js (`d3.cluster()` combined with `d3.lineRadial().curve(d3.curveBundle.beta(0.85))`), Apache ECharts (`type: 'graph'`, `layout: 'circular'`).
* **R:** `ggraph` (`geom_conn_bundle()`).
* **AI Generation Rules:** Tune the bundling tension parameter ($\beta \approx 0.85$) so shared pathways bundle cleanly through the center.
### 4.9. Scatter Plot (`Diagrama de Dispersión`)
* **Analytical Function:** Correlation, Patterns, Outlier Detection.
* **Technical Definition:** Projection of ordered pairs $(x_i, y_i)$ onto a 2D Cartesian plane to evaluate the functional relationship (linear, exponential, polynomial, or null) between two quantitative variables.
* **Data Schema:**
```json
[{ "x": 14.2, "y": 215.0, "category": "Segment 1" }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Chart.js (`type: 'scatter'`), ECharts (`type: 'scatter'`), Plotly.js (`mode: 'markers'`).
* **Python:** `seaborn.scatterplot(data=df, x='x', y='y', hue='category')` or `px.scatter(df, trendline='ols')`.
* **R:** `ggplot(df, aes(x, y, color=category)) + geom_point() + geom_smooth(method="lm")`.
* **AI Generation Rules:** Offer to include an Ordinary Least Squares (OLS) regression trendline and $R^2$ coefficient. For datasets exceeding $10,000$ points, use WebGL (`scattergl`) and alpha transparency (`alpha = 0.4`) to prevent overplotting.
### 4.10. Flowchart (`Diagrama de Flujo`)
* **Analytical Function:** Processes, Algorithms, Business Logic.
* **Technical Definition:** Schematic representation of an algorithm or workflow using standardized geometric nodes (rounded rectangles for start/end, rectangles for operations, diamonds for boolean conditionals) joined by directional arrows.
* **Data Schema:** Declarative graph syntax (DOT / Mermaid) or node/transition list.
* **Multi-Language Implementation:**
* **Universal / Markdown:** **Mermaid.js** (`flowchart TD`) or **Graphviz (DOT)**.
* **Interactive JS/TS:** React Flow, GoJS, Cytoscape.js, or Dagre-D3.
* **Python:** `graphviz` (`Digraph()`).
* **AI Generation Rules:** Default to clean **Mermaid.js** syntax, ensuring every decision diamond has at least two labeled outgoing branches (`Yes`/`No` or `True`/`False`).
### 4.11. Annotated Technical Illustration (`Diagrama de Ilustración`)
* **Analytical Function:** Explaining Concepts, System Anatomy, Physical Architecture.
* **Technical Definition:** Visual depiction of an object, architecture, or technical schematic enriched with visual metadata layers: leader lines, numbered callouts, cross-sections, and explanatory legends.
* **Data Schema:**
```json
{ "imageUrl": "base.svg", "hotspots": [{"x": 45.0, "y": 30.5, "label": "ESP32 Module", "description": "Wi-Fi/BLE Microcontroller"}] }
```
* **Multi-Language Implementation:**
* **Web/JS:** Programmatic SVG with layered `<g>` callouts, Konva.js, or HTML5 Canvas.
* **Python:** `matplotlib` using `ax.annotate('Label', xy=(x,y), xytext=(x2,y2), arrowprops=dict(...))`.
* **AI Generation Rules:** When generating technical diagrams via code, build clean SVGs with relative coordinates (`viewBox="0 0 800 600"`) and connect components using dashed leader lines to margin-aligned labels.
### 4.12. Marimekko / Mosaic Plot (`Diagrama de Marimekko`)
* **Analytical Function:** 2D Comparison, Part-to-Whole, Categorical Relationships.
* **Technical Definition:** $100\%$ stacked bar chart where **both segment height (Y-axis) and column width (X-axis) are proportional quantitative variables**. Each rectangle's area ($A = \text{width} \times \text{height}$) is strictly proportional to the cell's absolute value.
* **Data Schema:**
```json
[{ "market": "Cloud", "marketSize": 500, "segments": [{"vendor": "AWS", "share": 0.40}, {"vendor": "Azure", "share": 0.35}] }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Highcharts (stacked `type: 'variwide'`), D3.js (`d3.treemap().tile(d3.treemapSliceDice)`), Vega-Lite.
* **Python:** `statsmodels.graphics.mosaicplot.mosaic(df, ['market', 'vendor'])`.
* **R:** `ggmosaic` (`geom_mosaic()`).
* **AI Generation Rules:** Display both relative percentage and absolute value in tooltips, since comparing rectangular areas across unaligned baselines is cognitively demanding.
### 4.13. Force-Directed Network Graph (`Diagrama de Red`)
* **Analytical Function:** Relationships, Graph Topology, Community Detection.
* **Technical Definition:** System of vertices (*nodes*) and edges (*links*) positioned in 2D/3D space using physics simulation algorithms (repulsive forces between nodes and attractive spring forces along edges). Can be directed (with arrows) or undirected.
* **Data Schema:**
```json
{ "nodes": [{"id": "N1", "group": 1, "size": 20}], "links": [{"source": "N1", "target": "N2", "value": 3}] }
```
* **Multi-Language Implementation:**
* **JS/TS:** Cytoscape.js, Sigma.js (WebGL for massive graphs), D3.js (`d3.forceSimulation()`), Apache ECharts (`type: 'graph'`, `layout: 'force'`).
* **Python:** `networkx` + `pyvis` or `plotly`.
* **R:** `igraph` + `ggraph` or `networkD3`.
* **AI Generation Rules:** If the graph exceeds 500 nodes, disable continuous real-time physics simulation or use WebGL (Sigma.js) to prevent browser main-thread freezes (*hairball problem*).
### 4.14. Sankey Diagram (`Diagrama de Sankey`)
* **Analytical Function:** Flow, Resource Transfer, Multi-Stage Funnels.
* **Technical Definition:** Directed Acyclic Graph (DAG) where entities are connected by flow bands whose width is strictly proportional to the transferred quantity, respecting conservation of flow at every intermediate node.
* **Data Schema:**
```json
{ "nodes": [{"name": "Revenue"}, {"name": "Costs"}, {"name": "Net Profit"}], "links": [{"source": 0, "target": 1, "value": 60}, {"source": 0, "target": 2, "value": 40}] }
```
* **Multi-Language Implementation:**
* **JS/TS:** Apache ECharts (`type: 'sankey'`), D3.js (`d3-sankey`), Plotly.js (`type: 'sankey'`).
* **Python:** `plotly.graph_objects.Sankey()`.
* **R:** `networkD3::sankeyNetwork()` or `ggalluvial`.
* **AI Generation Rules:** Validate that no closed cycles ($A \to B \to A$) exist in the dataset before rendering a standard Sankey diagram.
### 4.15. Stem-and-Leaf Plot (`Diagrama de Tallos y Hojas`)
* **Analytical Function:** Statistical Distribution, Raw Data Reference.
* **Technical Definition:** Semi-graphical tabular method splitting each numerical value into two parts: the **stem** (leading place-value digits, e.g., tens) in a vertical column, and the **leaf** (trailing significant digit, e.g., units) extending horizontally. Preserves exact raw values while showing distribution shape.
* **Data Schema:** 1D numerical array `[4, 11, 2, 20, 17, 23]`.
* **Multi-Language Implementation:**
* **Python:** `stemgraphic.stem_graphic(df['values'])` or integer division grouping (`val // 10` and `val % 10`).
* **R:** Native base function `stem(x)`.
* **AI Generation Rules:** Ideal for CLI outputs, plain-text reports, or small datasets ($15 \le n \le 150$). For large datasets, recommend a Histogram (#48).
### 4.16. Sunburst Chart (`Diagrama de Tarta Multinivel`)
* **Analytical Function:** Hierarchy, Part-to-Whole.
* **Technical Definition:** Radial projection of a hierarchical tree using concentric rings. The center circle represents the root node, and each outward ring represents a deeper hierarchy level, angularly subdivided in proportion to each child node's value.
* **Data Schema:** Nested JSON tree (`name`, `value`, `children`) or flat table with `id` / `parentId`.
* **Multi-Language Implementation:**
* **JS/TS:** Apache ECharts (`type: 'sunburst'`), Plotly.js (`type: 'sunburst'`), D3.js (`d3.partition()`).
* **Python:** `plotly.express.sunburst(df, path=['Region', 'Country', 'City'], values='Sales')`.
* **R:** `sunburstR` or `plotly`.
* **AI Generation Rules:** Always enable interactive drill-down on sector click so users can inspect deep hierarchy levels.
### 4.17. Venn / Euler Diagram (`Diagrama de Venn`)
* **Analytical Function:** Logical Relationships, Set Intersections, Concepts.
* **Technical Definition:** Topological representation of set theory using overlapping closed curves (circles or ellipses). Overlapping regions represent logical intersections ($A \cap B$) where elements share attributes across multiple sets.
* **Data Schema:**
```json
[{ "sets": ["Frontend"], "size": 100 }, { "sets": ["Backend"], "size": 120 }, { "sets": ["Frontend", "Backend"], "size": 45 }]
```
* **Multi-Language Implementation:**
* **JS/TS:** `venn.js` (D3.js), Highcharts (`type: 'venn'`), Chart.js (`chartjs-chart-venn`).
* **Python:** `matplotlib_venn` (`venn2`, `venn3`).
* **R:** `ggVennDiagram` or `VennDiagram`.
* **AI Generation Rules:** Use Venn Diagrams for $2$ or $3$ sets. If the user has $4$ or more sets with complex intersections, recommend an **UpSet Plot** (`upsetjs` / `UpSetR`).
### 4.18. Violin Plot (`Diagrama de Violín`)
* **Analytical Function:** Distribution, Probability Density, Ranges.
* **Technical Definition:** Statistical hybrid combining a **Box and Whisker Plot** along its center axis with a mirrored **Kernel Density Estimate (KDE)** on either side. Reveals bimodal or multimodal distributions that standard boxplots hide.
* **Data Schema:** Array of continuous values grouped by category.
* **Multi-Language Implementation:**
* **JS/TS:** Plotly.js (`type: 'violin'`, `box: { visible: true }`, `meanline: { visible: true }`).
* **Python:** `seaborn.violinplot(data=df, x='category', y='value', inner='box')` or `px.violin()`.
* **R:** `ggplot(df, aes(x, y)) + geom_violin(trim=FALSE) + geom_boxplot(width=0.1)`.
* **AI Generation Rules:** Always enable the `inner box` (median and interquartile range inside the violin).
### 4.19. Spiral Plot (`Diagrama en Espiral`)
* **Analytical Function:** Long Time Series, Cyclic Patterns & Seasonality.
* **Technical Definition:** Projection of a continuous time series along an Archimedean spiral ($r = a + b\theta$) expanding outward from the center. Each full revolution ($2\pi$ radians) represents a fixed periodic cycle (e.g., 24 hours, 7 days, or 12 months), radially aligning recurring periods to expose seasonal anomalies.
* **Data Schema:** Chronologically sorted time series `[{ "timestamp": "2026-01-01", "value": 42.5 }]`.
* **Multi-Language Implementation:**
* **JS/TS:** D3.js (converting polar to Cartesian coordinates: $x = r \cos\theta$, $y = r \sin\theta$).
* **Python:** `matplotlib` polar projection (`subplot_kw={'projection': 'polar'}`).
* **R:** `spiralize` package.
* **AI Generation Rules:** Explicitly parameterize how many time units equal one full $360^\circ$ revolution.
### 4.20. Circle Packing (`Embalaje Circular`)
* **Analytical Function:** Hierarchy, Proportional Dimensions.
* **Technical Definition:** Hierarchical variant of a *Treemap* where tree branches are represented as tangent circles recursively nested inside larger parent circles. Leaf circle areas are proportional to their quantitative magnitude.
* **Data Schema:** Nested JSON tree structure (`name`, `value`, `children`).
* **Multi-Language Implementation:**
* **JS/TS:** D3.js (`d3.pack()`), Apache ECharts (`custom` series with `d3-hierarchy`), Highcharts (`packedbubble`).
* **Python:** `circlify` + `matplotlib` or `plotly`.
* **R:** `packcircles` + `ggplot2` or `ggraph` (`layout = 'circlepack'`).
* **AI Generation Rules:** Great for visually highlighting hierarchical containment, though less space-efficient than a rectangular *Treemap* (#53).
### 4.21. Area Chart (`Gráfica de Área`)
* **Analytical Function:** Time Series, Volume Trends.
* **Technical Definition:** Extension of a line chart where the region between the data polyline and the horizontal baseline ($Y = 0$) is filled with color or a translucent gradient to emphasize cumulative volume over time.
* **Data Schema:**
```json
[{ "date": "2026-10-01", "value": 1250 }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Chart.js (`type: 'line'` with `fill: true`), Apache ECharts (`type: 'line'` with `areaStyle: {}`), ApexCharts (`type: 'area'`).
* **Python:** `plotly.express.area(df, x='date', y='value')` or `df.plot.area()`.
* **R:** `ggplot(df, aes(x, y)) + geom_area(fill="#FF6500", alpha=0.4) + geom_line()`.
* **AI Generation Rules:** When overlapping multiple unstacked series, apply low opacity (`opacity: 0.25` to `0.4`) or a vertical fade gradient so foreground series do not obscure background series.
### 4.22. Grouped / Clustered Bar Chart (`Gráfica de Barras de Conjunto Múltiple`)
* **Analytical Function:** Multi-Series Comparison, Categorical Distribution.
* **Technical Definition:** Clusters multiple adjacent bars within each primary axis category, where each bar in the cluster represents a distinct series or subcategory differentiated by color, sharing a common zero baseline.
* **Data Schema:**
```json
[{ "category": "Q1", "onlineSales": 400, "storeSales": 250 }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Chart.js (`type: 'bar'` with multiple `datasets`), ECharts (multiple `type: 'bar'` series), Plotly.js (`barmode: 'group'`).
* **Python:** `seaborn.barplot(data=df, x='category', y='val', hue='channel')` or `px.bar(barmode='group')`.
* **R:** `ggplot(df, aes(x=category, y=val, fill=channel)) + geom_col(position="dodge")`.
* **AI Generation Rules:** Limit the number of bars per cluster to a maximum of 4.
### 4.23. Line Chart (`Gráfica de Línea`)
* **Analytical Function:** Time Series, Trends, Rate-of-Change Comparison.
* **Technical Definition:** Sequence of data markers connected by straight line segments or interpolated splines on a Cartesian plane, where the X-axis represents a continuous or sequential variable (time) and the Y-axis represents a quantitative metric.
* **Data Schema:**
```json
[{ "timestamp": "2026-10-01T00:00:00Z", "metric": 98.4, "series": "CPU_Usage" }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Chart.js (`type: 'line'`), Apache ECharts (`type: 'line'`), D3.js (`d3.line()`).
* **Python:** `seaborn.lineplot()`, `plotly.express.line()`, `matplotlib.pyplot.plot()`.
* **.NET:** LiveCharts2 (`LineSeries<T>`).
* **AI Generation Rules:** Never use a line chart if the X-axis contains unordered nominal categories; require a Bar Chart (#46) instead.
### 4.24. Open-High-Low-Close Chart (`Gráfico Apertura-Máximo-Mínimo-Cierre - OHLC`)
* **Analytical Function:** Financial Time Series, Volatility Ranges.
* **Technical Definition:** Financial chart where each time period is represented by a vertical line spanning the lowest (*Low*) to highest (*High*) traded price, with a left horizontal tick for the opening price (*Open*) and a right horizontal tick for the closing price (*Close*).
* **Data Schema:**
```json
[{ "date": "2026-10-23", "open": 150.2, "high": 155.8, "low": 149.0, "close": 154.5 }]
```
* **Multi-Language Implementation:**
* **JS/TS:** TradingView Lightweight Charts (`addBarSeries()`), Plotly.js (`type: 'ohlc'`), Highcharts Stock (`type: 'ohlc'`).
* **Python:** `plotly.graph_objects.Ohlc()` or `mplfinance.plot(df, type='ohlc')`.
* **R:** `quantmod` (`chartSeries(data, type="bars")`).
* **AI Generation Rules:** Color-code each glyph: green/bullish if $\text{Close} \ge \text{Open}$, and red/bearish if $\text{Close} < \text{Open}$.
### 4.25. Stacked Area Chart (`Gráfico de Área Apilada`)
* **Analytical Function:** Time Series, Evolution of Composition and Total Volume.
* **Technical Definition:** Multi-series area chart where each successive series uses the upper boundary of the previous series as its baseline. The top boundary displays the aggregate sum across all categories over time.
* **Data Schema:** Time series with multiple positive numerical columns.
* **Multi-Language Implementation:**
* **JS/TS:** Apache ECharts (`type: 'line'`, `stack: 'total'`, `areaStyle: {}`), Chart.js (`scales: { y: { stacked: true } }`), D3.js (`d3.stack()`).
* **Python:** `plotly.express.area(df, x='date', y='val', color='category')`.
* **R:** `ggplot(df, aes(x=date, y=val, fill=category)) + geom_area(position="stack")`.
* **AI Generation Rules:** **Strictly prohibited with negative values**, as they cancel out visual stacking.
### 4.26. Proportional Area Chart (`Gráfico de Área Proporcional`)
* **Analytical Function:** Extreme Magnitude Comparison, Dimensions.
* **Technical Definition:** Axis-free visualization comparing numerical values using geometric shapes (circles, squares) whose 2D surface area is directly proportional to the represented value.
* **Data Schema:**
```json
[{ "label": "Budget A", "value": 1000 }, { "label": "Budget B", "value": 250 }]
```
* **Multi-Language Implementation:**
* **JS/TS:** D3.js (`d3.scaleSqrt()` for circle radii or square side lengths), dynamic SVG.
* **Python:** `matplotlib.patches.Circle` or `Rectangle` scaling side $L = \sqrt{\text{value}}$.
* **AI Generation Rules:** **Critical Mathematical Rule:** Compute circle radius as $r = k \cdot \sqrt{\text{value}}$ and square side as $L = k \cdot \sqrt{\text{value}}$. Never scale linear dimensions directly by value.
### 4.27. Bullet Graph (`Gráfico de Bala`)
* **Analytical Function:** KPI Performance Comparison, Qualitative Ranges.
* **Technical Definition:** Designed by Stephen Few to replace dashboard gauges. Consists of: 1) A narrow central bar encoding the actual primary metric, 2) A perpendicular target marker line encoding the comparative goal, and 3) Luminance-shaded background bands encoding qualitative thresholds (Poor, Average, Good).
* **Data Schema:**
```json
{ "kpi": "Q4 Revenue", "actual": 275, "target": 250, "ranges": [150, 225, 300] }
```
* **Multi-Language Implementation:**
* **JS/TS:** Plotly.js (`type: 'indicator'`, `gauge: { shape: 'bullet' }`), Highcharts (`type: 'bullet'`), ECharts (`bar` + `markLine`).
* **Python:** `plotly.graph_objects.Indicator(mode="number+gauge+delta", gauge={'shape': "bullet", ...})`.
* **R:** `ggplot2` layering `geom_col()` of varying widths and `geom_errorbar()` for the target.
* **AI Generation Rules:** Limit background bands to 3–5 monochromatic shades.
### 4.28. Stacked Bar Chart: Simple & 100% (`Gráfico de Barras Apiladas`)
* **Analytical Function:** Comparison, Part-to-Whole, Dimensions.
* **Technical Definition:** Segments each primary bar into sequentially stacked sub-bars: **Simple Stacked** (shows absolute total sum) or **100% Stacked** (shows relative percentage composition per group).
* **Data Schema:** Cross-tabulation of Primary Category vs. Subcategories with positive values.
* **Multi-Language Implementation:**
* **JS/TS:** Chart.js (`stacked: true`), ECharts (`stack: 'total'`), Plotly.js (`barmode: 'stack'` or `barnorm: 'percent'`).
* **Python:** `px.bar(df, x='cat', y='val', color='subcat', barmode='stack')`.
* **R:** `ggplot(df, aes(x=cat, y=val, fill=subcat)) + geom_col(position="stack")` (or `position="fill"` for $100\%$).
* **AI Generation Rules:** Place the most critical subcategory directly against the zero baseline for accurate comparison.
### 4.29. Radial Bar Chart / Circular Gauge (`Gráfico de Barras Radial`)
* **Analytical Function:** Aesthetic Progress or Goal Comparison.
* **Technical Definition:** Bars arranged in concentric rings around a polar circle where each category occupies a distinct radius and its numerical value is encoded by the sweep angle ($\theta$ from $0^\circ$ to $360^\circ$).
* **Data Schema:**
```json
[{ "metric": "Daily Steps", "value": 85, "max": 100 }]
```
* **Multi-Language Implementation:**
* **JS/TS:** ApexCharts (`type: 'radialBar'`), Apache ECharts (`polar` + `angleAxis` + `radiusAxis` with `type: 'bar'`), Highcharts (`solidgauge`).
* **Python:** `matplotlib` polar projection with `ax.barh()`.
* **AI Generation Rules:** Use strictly for completion percentages ($0\%$ to $100\%$) across 3 to 5 metrics maximum.
### 4.30. Bubble Chart (`Gráfico de Burbujas`)
* **Analytical Function:** Multivariate Relationships, Comparison, Dimensions, Patterns.
* **Technical Definition:** Extension of the scatter plot encoding up to **4 simultaneous dimensions**: Variable $X$ (horizontal position), Variable $Y$ (vertical position), Variable $Z$ (circle area), and Variable $C$ (color/category).
* **Data Schema:**
```json
[{ "name": "Product A", "x_price": 45.0, "y_margin": 0.32, "z_volume": 1500, "category": "Electronics" }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Chart.js (`type: 'bubble'`), ECharts (`type: 'scatter'` with `symbolSize`), Plotly.js (`marker: { size: [...], sizemode: 'area' }`).
* **Python:** `plotly.express.scatter(df, x='x', y='y', size='z', color='cat')` or `seaborn.scatterplot(size='z')`.
* **R:** `ggplot(df, aes(x, y, size=z, color=cat)) + geom_point(alpha=0.6) + scale_size_area()`.
* **AI Generation Rules:** Always enforce area scaling (`sizemode: 'area'`) and translucent fills (`0.6`–`0.7` opacity).
### 4.31. Radial Column / Star Bar Chart (`Gráfico de Columna Radial`)
* **Analytical Function:** Cyclic Comparisons.
* **Technical Definition:** Polar coordinate system where categories are divided into angular rays around the center and bars extend radially outward across concentric scale circles.
* **Data Schema:** Pairs `[Category/Hour/Month, Value]`.
* **Multi-Language Implementation:**
* **JS/TS:** Apache ECharts (`coordinateSystem: 'polar'`, `radiusAxis: { type: 'value' }`, `angleAxis: { type: 'category' }`, `type: 'bar'`).
* **Python:** `matplotlib` polar (`ax.bar(theta, radii, width=width)`).
* **R:** `ggplot(df, aes(x=cat, y=val)) + geom_col() + coord_polar()`.
* **AI Generation Rules:** Ideal when the categorical axis is intrinsically periodic (e.g., 24 hours of the day, 12 months, compass directions).
### 4.32. Tally Chart (`Gráfico de Conteo`)
* **Analytical Function:** Discrete Frequency Recording, Basic Distribution.
* **Technical Definition:** Rapid frequency table counting occurrences via grouped marks of five (four vertical strokes crossed by a fifth diagonal stroke: `卌`).
* **Data Schema:**
```json
[{ "category": "Defect Type A", "count": 17 }]
```
* **Multi-Language Implementation:**
* **JS/TS / Python / C#:** String formatting function dividing `count // 5` five-mark blocks + `count % 5` single strokes rendered in an HTML/SVG table.
* **AI Generation Rules:** For production analytics, offer to pair or replace it with a horizontal Bar Chart (#46).
### 4.33. Parallel Coordinates Plot (`Gráfico de Coordenadas Paralelas`)
* **Analytical Function:** High-Dimensional Multivariate Analysis, Relationships, Patterns.
* **Technical Definition:** Projection of $N$-dimensional numerical data where each quantitative variable gets its own parallel vertical axis. Each observation is drawn as a continuous polyline intersecting every axis at its respective value.
* **Data Schema:**
```json
[{ "model": "Server X", "cpu_cores": 64, "ram_gb": 256, "iops": 50000, "cost_usd": 1200 }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Apache ECharts (`type: 'parallel'`), Plotly.js (`type: 'parcoords'`), D3.js.
* **Python:** `plotly.express.parallel_coordinates(df, color='cost_usd')`.
* **R:** `GGally::ggparcoord(df, columns=2:5, groupColumn=1)`.
* **AI Generation Rules:** Always enable **interactive axis brushing** so users can filter ranges and isolate polylines.
### 4.34. Kernel Density Estimate - KDE Plot (`Gráfico de Densidad`)
* **Analytical Function:** Continuous Probability Distribution, Distribution Comparison.
* **Technical Definition:** Non-parametric estimation of the probability density function of a continuous random variable using Kernel smoothing (typically Gaussian), eliminating sensitivity to arbitrary histogram bin widths.
* **Data Schema:** 1D continuous numerical vector or grouped by category.
* **Multi-Language Implementation:**
* **JS/TS:** D3.js, Vega-Lite (`transform: [{ density: 'value' }]`).
* **Python:** `seaborn.kdeplot(data=df, x='value', hue='group', fill=True)`.
* **R:** `ggplot(df, aes(x=value, fill=group)) + geom_density(alpha=0.4)`.
* **AI Generation Rules:** For bounded variables ($\ge 0$), apply boundary clipping (`cut=0`) so Gaussian tails do not bleed into impossible negative values.
### 4.35. Donut / Doughnut Chart (`Gráfico de Dónut`)
* **Analytical Function:** Part-to-Whole Relationship, Simple Proportions.
* **Technical Definition:** Variant of the pie chart with a concentric center cutout. Shifts visual perception toward comparing arc lengths rather than center angles and frees the center space to display the aggregate KPI total.
* **Data Schema:**
```json
[{ "category": "Completed", "value": 75 }, { "category": "Pending", "value": 25 }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Chart.js (`type: 'doughnut'`, `cutout: '65%'`), Apache ECharts (`type: 'pie'`, `radius: ['50%', '75%']`), Plotly.js (`type: 'pie'`, `hole: 0.5`).
* **Python:** `px.pie(df, values='val', names='cat', hole=0.5)`.
* **AI Generation Rules:** Maximum 5 slices. Render the grand total metric inside the hollow center.
### 4.36. Streamgraph / ThemeRiver (`Gráfico de Flujo`)
* **Analytical Function:** Multi-Series Time Series, Organic Volume Patterns.
* **Technical Definition:** Variation of the stacked area chart where layers are displaced around a varying central baseline (*wiggle minimization*) using smooth interpolated curves.
* **Data Schema:**
```json
[{ "date": "2026-01", "category": "Category A", "value": 340 }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Apache ECharts (`type: 'themeRiver'`), D3.js (`d3.stack().offset(d3.stackOffsetWiggle)`), Highcharts (`type: 'streamgraph'`).
* **Python:** `altair` (`mark_area()` with `stack='center'`) or `matplotlib` (`ax.stackplot(..., baseline='wiggle')`).
* **R:** `ggstream` (`geom_stream()`).
* **AI Generation Rules:** Use to highlight macro ebb-and-flow trends over time, not for reading exact axis values.
### 4.37. Gantt Chart (`Gráfico de Gantt`)
* **Analytical Function:** Project Management, Time Series, Ranges, Dependencies.
* **Technical Definition:** Chronological matrix where the vertical axis lists tasks and the horizontal axis represents the calendar timeline. Each task is a floating bar bounded by `[Start_Date, End_Date]`.
* **Data Schema:**
```json
[{ "id": "T1", "task": "API Design", "start": "2026-10-01", "end": "2026-10-10", "progress": 100, "dependencies": [] }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Frappe Gantt, DHTMLX Gantt, Highcharts Gantt, ApexCharts (`type: 'rangeBar'`).
* **Python:** `plotly.express.timeline(df, x_start="start", x_end="end", y="task", color="owner")`.
* **Markdown:** Mermaid.js (`gantt`).
* **AI Generation Rules:** Always include a vertical *Today marker line* to indicate current date progress.
### 4.38. Kagi Chart (`Gráfico de Kagi`)
* **Analytical Function:** Financial Patterns, Price Noise Filtering.
* **Technical Definition:** **Time-independent** Japanese financial price-action chart. Uses a single continuous line that reverses vertical direction only when price moves against the current trend by a predefined reversal threshold, switching thickness between **Yang (thick/bullish)** and **Yin (thin/bearish)**.
* **Data Schema:** Sequential closing prices + `reversalAmount` parameter.
* **Multi-Language Implementation:**
* **JS/TS:** Highcharts Stock (`type: 'kagi'`), D3.js.
* **Python:** Computed state-machine segments plotted via `matplotlib.collections.LineCollection`.
* **AI Generation Rules:** Note that horizontal distances do not represent uniform time intervals.
### 4.39. Dot Matrix / Waffle Chart (`Gráfico de Matriz de Puntos`)
* **Analytical Function:** Discrete Proportions, Distribution, Part-to-Whole.
* **Technical Definition:** Orthogonal grid (commonly $10 \times 10 = 100$ cells or dots) where each discrete unit is colored by category to represent exact percentages or counts without angular distortion.
* **Data Schema:**
```json
[{ "category": "Approved", "percentage": 73 }, { "category": "Rejected", "percentage": 27 }]
```
* **Multi-Language Implementation:**
* **JS/TS:** D3.js / SVG Grid (`10x10`), ECharts (`type: 'scatter'` on grid), CSS Grid.
* **Python:** `pywaffle` package.
* **R:** `waffle` (`geom_waffle()`).
* **AI Generation Rules:** Excellent modern alternative to pie charts for displaying conversion rates or demographic shares.
### 4.40. Pictogram / Isotype Chart (`Gráfico de Pictogramas`)
* **Analytical Function:** Discrete Comparison, Infographic Communication.
* **Technical Definition:** Variation of a bar or matrix chart replacing abstract bars with repeated thematic SVG vector icons, where each icon represents a fixed unitary magnitude.
* **Data Schema:**
```json
[{ "category": "Mobile Users", "value": 450, "iconSvgPath": "M12 2C6.48..." }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Apache ECharts (`type: 'pictorialBar'`, `symbolRepeat: true`, `symbol: 'path://...'`), Vega-Lite.
* **AI Generation Rules:** Repeat fixed-size icons according to count; never scale a single giant icon.
### 4.41. Point and Figure - P&F Chart (`Gráfico de Puntos y Figuras`)
* **Analytical Function:** Financial Supply/Demand Patterns, Support & Resistance Levels.
* **Technical Definition:** Time-independent financial chart composed of alternating columns of **`X`** symbols (rising prices) and **`O`** symbols (falling prices), parameterized by **Box Size** and **Reversal Distance**.
* **Data Schema:** Price series (`High`/`Low` or `Close`), `boxSize: 1.0`, `reversal: 3`.
* **Multi-Language Implementation:**
* **Python:** `mplfinance.plot(df, type='pnf')`.
* **R:** `rpnf` package.
* **JS/TS:** Highcharts Stock (`type: 'pointandfigure'`).
* **AI Generation Rules:** Never mix `X` and `O` symbols within the same vertical column.
### 4.42. Span / Range / Floating Bar Chart (`Gráfico de Vanos / Rangos`)
* **Analytical Function:** Ranges (Minimum to Maximum), Interval Comparison.
* **Technical Definition:** Floating bar chart where each bar spans strictly from a lower bound ($Y_{\min}$) to an upper bound ($Y_{\max}$) per category.
* **Data Schema:**
```json
[{ "category": "Senior Dev", "minSalary": 4500, "maxSalary": 7200 }]
```
* **Multi-Language Implementation:**
* **JS/TS:** Chart.js (`type: 'bar'` passing `[min, max]` tuples), ApexCharts (`type: 'rangeBar'`), Highcharts (`type: 'columnrange'`).
* **Python:** `matplotlib.pyplot.barh(categories, width=max-min, left=min)`.
* **R:** `ggplot(df, aes(x=category, ymin=min, ymax=max)) + geom_linerange(linewidth=6)`.
* **AI Generation Rules:** If mean or median values are available, overlay a central marker inside each floating bar.
### 4.43. Candlestick Chart (`Gráfico de Velas`)
* **Analytical Function:** Financial Time Series, Price Action.
* **Technical Definition:** Displays four prices per period (Open, High, Low, Close) via a rectangular **real body** (Open to Close) and vertical **shadows/wicks** (High and Low extremes).
* **Data Schema:**
```json
[{ "timestamp": "2026-10-23", "open": 100.0, "high": 108.5, "low": 98.2, "close": 106.0, "volume": 45020 }]
```
* **Multi-Language Implementation:**
* **JS/TS:** TradingView Lightweight Charts (`addCandlestickSeries()`), Apache ECharts (`type: 'candlestick'`), Plotly.js (`type: 'candlestick'`).
* **Python:** `mplfinance.plot(df, type='candle', volume=True)` or `plotly.graph_objects.Candlestick()`.
* **.NET:** LiveCharts2 (`CandlesticksSeries<FinancialPoint>`).
* **AI Generation Rules:** Verify input tuple ordering per library (ECharts requires `[Open, Close, Low, High]`, whereas Plotly/TradingView use `{open, high, low, close}`).
### 4.44. Nightingale Rose / Coxcomb / Polar Area Chart (`Gráfico Nightingale Rose`)
* **Analytical Function:** Cyclic Comparison, Polar Dimensions.
* **Technical Definition:** Circular chart divided into equal-angle sectors ($\theta = \text{constant}$), where each category varies in its radial extension from the center.
* **Data Schema:**
```json
[{ "m
[…] pełny plik w paczce .zip
Pliki w paczce (5)
- LICENSE 1 KB
- Manual Maestro de Arquitectura y Visualizacion de Datos.pdf 442 KB
- README.md 5 KB
- SKILL.md 75 KB
- package.json 1 KB
Wersje
W bazie nie ma innych skilli o nazwie universal-dataviz-architect.
Migawka bazy z 13.11.2026 · wersja paczki a8a490a49393 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 4 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100data-visualization
Tworzy czytelne wykresy i dashboardy z danych strukturalnych za pomocą matplotlib, seaborn i plotly. - 95bigdata-visualization
Tworzy statyczne i interaktywne wykresy w Matplotlib, Seaborn i Plotly do dashboardów, raportów i wizualnej eksploracji danych. - 90charts
Tworzy czytelne i rzetelne wykresy narzędziami charts w formatach SVG, PNG i HTML i przerabia je bez zmiany danych. - 100data-visualization
Tworzy skuteczne wizualizacje danych w Pythonie (matplotlib, seaborn, plotly): wykresy, dobór typu wykresu do zbioru, rysunki jakości publikacyjnej oraz zasady dostępności i teorii kolorów. - 100inspiration
Przed pisaniem kodu wykresu, mapy czy dashboardu przeszukuje galerie opublikowanych wizualizacji danych (dataviz-inspiration.com, Dataviz Index) i podaje 3 do 5 referencji z formą, adnotacjami i paletą. - 100local-data-visualization-0078ccf7
Wskazuje, którą specjalistyczną umiejętność wybrać do wykresów, map, osi czasu, diagramów i dashboardów.