EDA Visualization
Use this sub-skill when the user wants AutoViz to visualize a CSV, TXT, Excel file, JSON-like file, or pandas DataFrame. This is the primary route for AutoViz_Class, AutoViz, chart formats, plot directories, sampling limits, target variables, and static or interactive plots.
Use this when
- The user asks for one-line EDA, automated visualization, or quick dataset profiling.
- The task names
AutoViz_Class, AV.AutoViz, AutoViz_Main, AutoViz_Holo, chart_format, verbose, depVar, or dfte.
- The user needs to choose between
png, svg, jpg, bokeh, server, or html outputs.
- The user is debugging missing plots, empty plots, file-loading issues, or output-directory behavior.
- The user wants to know how AutoViz chooses plot families from supervised or unsupervised data.
Core flow
- Identify whether the input is a filename or a DataFrame.
- If using a filename, pass the path as
filename; if using a DataFrame, pass filename="" and dfte=df.
- Set
depVar to the target column for supervised EDA or "" / None for unsupervised exploration.
- Pick a
chart_format:
svg, png, or jpg for matplotlib/static plots.
bokeh, server, or html for the HoloViews/Bokeh path.
- Use
max_rows_analyzed and max_cols_analyzed to bound large datasets.
- Use
verbose=2 and save_plot_dir when the user wants files written instead of displayed.
- After the run, summarize the most useful plot families rather than every internal helper.
Read these references
Use these scripts
- Run
scripts/autoviz_smoke.py to verify the static AutoViz path on a safe in-memory DataFrame.
- Run
scripts/autoviz_interactive_smoke.py to check that interactive backend imports and the html route are usable.
- Run
../../scripts/inspect_install.py if the environment itself is the problem.
Decision points
- Prefer static
svg or png when running headless or inside automated tests.
- Prefer
html when the user wants a saved interactive artifact without keeping a server process alive.
- Treat
server as a browser/server workflow; do not start a long-running server unless the user asked for it.
- Use a nonempty
save_plot_dir for reproducible outputs; otherwise AutoViz creates AutoViz_Plots under the current working directory when saving.
- Explain that AutoViz classifies variables before plotting, so tiny toy data can be classified as IDs, booleans, or categorical columns in surprising ways.
- If a supervised run has many columns, mention that AutoViz may use feature selection to limit the plots.
Typical plot families
- scatter plots for numeric predictors against the target
- pairwise scatter plots for numeric-variable relationships
- distribution plots for target or feature distributions
- violin plots for class or regression comparisons
- heatmaps for numeric correlation inspection
- bar and pivot plots for categorical or mixed data
- date/time plots when date variables are present
- catscatter plots when there are mostly categorical variables
- wordcloud plots when string-like variables are detected
Cross-routing
- If an AutoViz run fails inside
pandas_dq or the user asks how to fix dataset issues, switch to ../data-quality-fixes/SKILL.md.
- If string columns trigger wordclouds, NLTK downloads, or text-cleaning questions, switch to
../text-wordclouds/SKILL.md.
- Do not tell future users to open the original repository notebooks. Use this skill's references and bundled scripts instead.
- Keep the response focused on the chosen
chart_format and data shape; do not restate every helper function in the package.
Troubleshooting reminders
- If no plots appear, check whether the target column exists and whether AutoViz removed many columns as IDs or low-information features.
- If the run is interactive but nothing renders, try
html first and confirm the required dependencies are installed.
- If plots are saved but hard to find, inspect the
save_plot_dir argument and the target-named output subdirectory.
- If a tiny fixture gives odd plot families, make the test data more varied before treating the behavior as a bug.
1---2name: eda-visualization3description: "Use AutoViz to profile tabular data and generate static or4 interactive EDA charts."5metadata:6 source: https://skillmd.com/skills/vectorspacelab/eda-visualization7 disco-role: operating8disable-model-invocation: true9license: Apache 2.010---1112# EDA Visualization1314Use this sub-skill when the user wants AutoViz to visualize a CSV, TXT, Excel file, JSON-like file, or pandas DataFrame. This is the primary route for `AutoViz_Class`, `AutoViz`, chart formats, plot directories, sampling limits, target variables, and static or interactive plots.1516## Use this when1718- The user asks for one-line EDA, automated visualization, or quick dataset profiling.19- The task names `AutoViz_Class`, `AV.AutoViz`, `AutoViz_Main`, `AutoViz_Holo`, `chart_format`, `verbose`, `depVar`, or `dfte`.20- The user needs to choose between `png`, `svg`, `jpg`, `bokeh`, `server`, or `html` outputs.21- The user is debugging missing plots, empty plots, file-loading issues, or output-directory behavior.22- The user wants to know how AutoViz chooses plot families from supervised or unsupervised data.2324## Core flow25261. Identify whether the input is a filename or a DataFrame.272. If using a filename, pass the path as `filename`; if using a DataFrame, pass `filename=""` and `dfte=df`.283. Set `depVar` to the target column for supervised EDA or `""` / `None` for unsupervised exploration.294. Pick a `chart_format`:30 - `svg`, `png`, or `jpg` for matplotlib/static plots.31 - `bokeh`, `server`, or `html` for the HoloViews/Bokeh path.325. Use `max_rows_analyzed` and `max_cols_analyzed` to bound large datasets.336. Use `verbose=2` and `save_plot_dir` when the user wants files written instead of displayed.347. After the run, summarize the most useful plot families rather than every internal helper.3536## Read these references3738- [`references/workflows.md`](references/workflows.md): end-to-end file and DataFrame recipes.39- [`references/interactive-backends.md`](references/interactive-backends.md): Bokeh/HoloViews/html/server behavior and dependency notes.40- [`references/troubleshooting.md`](references/troubleshooting.md): common EDA failures and how to recover.41- [`../../references/chart-formats.md`](../../references/chart-formats.md): compact chart-format matrix.42- [`../../references/api-reference.md`](../../references/api-reference.md): exact signatures and helper notes.43- [`../../references/install-and-compatibility.md`](../../references/install-and-compatibility.md): when the chart path fails because the environment is incomplete.4445## Use these scripts4647- Run [`scripts/autoviz_smoke.py`](scripts/autoviz_smoke.py) to verify the static AutoViz path on a safe in-memory DataFrame.48- Run [`scripts/autoviz_interactive_smoke.py`](scripts/autoviz_interactive_smoke.py) to check that interactive backend imports and the `html` route are usable.49- Run [`../../scripts/inspect_install.py`](../../scripts/inspect_install.py) if the environment itself is the problem.5051## Decision points5253- Prefer static `svg` or `png` when running headless or inside automated tests.54- Prefer `html` when the user wants a saved interactive artifact without keeping a server process alive.55- Treat `server` as a browser/server workflow; do not start a long-running server unless the user asked for it.56- Use a nonempty `save_plot_dir` for reproducible outputs; otherwise AutoViz creates `AutoViz_Plots` under the current working directory when saving.57- Explain that AutoViz classifies variables before plotting, so tiny toy data can be classified as IDs, booleans, or categorical columns in surprising ways.58- If a supervised run has many columns, mention that AutoViz may use feature selection to limit the plots.5960## Typical plot families6162- scatter plots for numeric predictors against the target63- pairwise scatter plots for numeric-variable relationships64- distribution plots for target or feature distributions65- violin plots for class or regression comparisons66- heatmaps for numeric correlation inspection67- bar and pivot plots for categorical or mixed data68- date/time plots when date variables are present69- catscatter plots when there are mostly categorical variables70- wordcloud plots when string-like variables are detected7172## Cross-routing7374- If an AutoViz run fails inside `pandas_dq` or the user asks how to fix dataset issues, switch to [`../data-quality-fixes/SKILL.md`](../data-quality-fixes/SKILL.md).75- If string columns trigger wordclouds, NLTK downloads, or text-cleaning questions, switch to [`../text-wordclouds/SKILL.md`](../text-wordclouds/SKILL.md).76- Do not tell future users to open the original repository notebooks. Use this skill's references and bundled scripts instead.77- Keep the response focused on the chosen `chart_format` and data shape; do not restate every helper function in the package.7879## Troubleshooting reminders8081- If no plots appear, check whether the target column exists and whether AutoViz removed many columns as IDs or low-information features.82- If the run is interactive but nothing renders, try `html` first and confirm the required dependencies are installed.83- If plots are saved but hard to find, inspect the `save_plot_dir` argument and the target-named output subdirectory.84- If a tiny fixture gives odd plot families, make the test data more varied before treating the behavior as a bug.