# Autoviz 1 Sample Large Datasets

> Sub-skill of autoviz: 1. Sample Large Datasets (+3).

- Skill: `vamseeachanta/autoviz-1-sample-large-datasets` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vamseeachanta/autoviz-1-sample-large-datasets`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vamseeachanta/autoviz-1-sample-large-datasets/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: vamseeachanta (https://skillmd.com/u/vamseeachanta)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vamseeachanta/autoviz-1-sample-large-datasets

---


# 1. Sample Large Datasets (+3)

## 1. Sample Large Datasets


```python
# GOOD: Use sampling for initial exploration
AV.AutoViz(
    filename="",
    dfte=large_df,
    max_rows_analyzed=50000,  # Sample for speed
    verbose=1
)

# AVOID: Analyzing millions of rows directly
# This will be slow and may crash
```


## 2. Specify Target Variable When Available


```python
# GOOD: Specify target for focused analysis
AV.AutoViz(
    filename="",
    dfte=df,
    depVar="target_column",  # Enables target-specific charts
    verbose=1
)

# LESS USEFUL: No target specified
# Still works but misses target-related insights
```


## 3. Choose Appropriate Chart Format


```python
# For presentations: PNG
chart_format="png"

# For reports/web: HTML
chart_format="html"

# For notebooks: server or bokeh
chart_format="server"

# For scalable graphics: SVG
chart_format="svg"
```


## 4. Organize Output


```python
# GOOD: Save to organized directory
import os
output_dir = f"eda_{datetime.now().strftime('%Y%m%d_%H%M%S')}"
os.makedirs(output_dir, exist_ok=True)

AV.AutoViz(
    filename="",
    dfte=df,
    save_plot_dir=output_dir,
    chart_format="png"
)
```

