The AI Data Viz Agent leverages large language models to interpret freeform textual instructions, and then orchestrates data processing and plotting libraries to generate code and render visualizations. Users can load datasets in CSV or JSON formats or pass pandas DataFrames directly. Once a dataset is provided, the agent can filter, group, and aggregate data based on prompts like “Show average sales by quarter for top products.” It supports multiple chart types including bar, line, scatter, pie, histogram, and heatmap, with customizable colors, labels, and annotations. The agent runs as a Python package, with optional CLI and API interfaces, enabling integration into notebooks, web services, or automated reporting pipelines.