data-visualization

Create charts and figures with matplotlib, seaborn, and plotly using chart selection guidance.

1|Updated Aug 7, 2025
One-click install
npx skills add https://github.com/zzafergok/arktos --skill data-visualization-zzafergok
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: data-visualization
Source: https://github.com/zzafergok/arktos/tree/main/.agent/skills/data-visualization
Command: npx skills add https://github.com/zzafergok/arktos --skill data-visualization-zzafergok

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires matplotlib, seaborn, plotly, pandas, numpy.

What problem does it solve? Choosing the wrong chart type or producing cluttered, inaccessible figures undermines data communication. This Skill provides chart selection guidance, ready-to-use Python visualization code patterns, and design and accessibility principles so your charts clearly convey the intended insight. ## Core Features & Use Cases - Chart Selection Guide: A decision table mapping data relationships (trends, comparisons, distributions, correlations, geographic patterns) to the best chart types, plus guidance on charts to avoid like pie and 3D charts. - Python Code Patterns: Copy-ready matplotlib, seaborn, and plotly snippets for line charts, bar charts, histograms, heatmaps, small multiples, number formatting, and interactive HTML charts. - Design & Accessibility Principles: Rules for color, typography, layout, and accuracy, plus a colorblind-friendly palette and an accessibility checklist. - Use Case: You have a pandas DataFrame of monthly revenue by region and need a publication-quality figure. Use this Skill to pick a line chart, apply the professional style setup, format currency on the y-axis, and export a 150 DPI PNG. ## Quick Start Use the data-visualization skill to create a ranked horizontal bar chart from my sales dataset and save it as a PNG.

Frequently Asked Questions about data-visualization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose the right chart type for my data?▼

Match the chart to the data relationship: line charts for trends over time, bar charts for category comparison, histograms for distributions, scatter plots for two-variable correlation, and heatmaps for many-variable correlation. Avoid pie charts, 3D charts, and dual-axis charts in most cases.

How to create a bar chart in matplotlib with value labels?▼

Sort the DataFrame by value, call ax.barh with category and metric columns, then loop over the returned bars and use ax.text at each bar's width to add labels. Hide the top and right spines and save with plt.savefig at 150 DPI.

Matplotlib vs plotly for data visualization, which should I use?▼

Use matplotlib with seaborn for static, publication-quality PNG figures with fine-grained style control. Use plotly when you need interactive HTML charts with hover tooltips, unified hover modes, and zoomable axes.

How do I make charts colorblind friendly in Python?▼

Use sns.color_palette("colorblind") or a blue/orange primary pair instead of red/green, since about 8% of men are red-green colorblind. Also differentiate series with line styles, pattern fills, or direct labels so color is never the only encoding.

When should I not use a pie chart?▼

Avoid pie charts unless there are fewer than six categories and rough proportion comparison is acceptable, because humans compare angles poorly. A sorted bar chart communicates the same part-to-whole data more accurately.

Why does my matplotlib chart look cluttered and hard to read?▼

Clutter comes from chart junk like heavy gridlines, borders, and unsorted categories. Remove top and right spines, sort bars by value, write insight-stating titles, label axes with units, and keep label text at 10pt or larger.