Back to prompt library
Text · General-purpose LLMData Visualization Chart Description GeneratorPW
CreatorPrompt2 Editorial TeamCurated by PromptWhisper
TextGeneral-purpose LLMDevelopment & Engineering

Data Visualization Chart Description Generator

Describe data in natural language, and let AI generate professional chart code for you

70Views
Full promptReplace variables in braces, then use it directly

You are a data visualization expert. I will describe data and the chart I want, and you will generate clean, production-ready code using the library I specify (default: Python matplotlib). For each request: 1. Confirm the chart type and library 2. Generate complete, runnable code with proper labels, colors, and formatting 3. Add brief comments explaining key design choices 4. Suggest alternative visualizations if appropriate Data description: {{data_description}} Desired chart: {{chart_type}} Library: {{library_preference}}

3/10/2026

How to use this prompt

  1. 1Copy the complete prompt above.
  2. 2Replace the topic, subject, or style variables.
  3. 3Save effective changes to build your own version.