Data Visualization Prompt
Specifying exact axes, color schemes, and annotation points eliminates the back-and-forth that usually follows chart generation requests. Asking for 'copy-paste ready' code with all imports ensures the output actually runs without modification.
Create a {{chartType}} visualization using the following data: **Data:** {{dataOrDescription}} **Chart requirements:** - Title: {{chartTitle}} - X-axis: {{xAxis}} | Y-axis: {{yAxis}} - Color scheme: {{colorScheme}} - Annotations: highlight {{annotationPoints}} - Style: clean, presentation-ready (no gridlines unless useful) **Technical specs:** - Library: {{library}} - Size: {{dimensions}} - Export format: {{exportFormat}} Generate the complete code. Make it copy-paste ready — include all imports, data setup, and save/export commands.
Variables to customize
Why this prompt works
Specifying exact axes, color schemes, and annotation points eliminates the back-and-forth that usually follows chart generation requests. Asking for 'copy-paste ready' code with all imports ensures the output actually runs without modification.
Save this prompt to your library
Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.
Related prompts
Forcing the agent to plan before acting prevents premature execution and wasted steps. Explicit dependency mapping enables parallel execution and catches logical gaps early.
Tool Selection AgentThe ReAct pattern (Reason + Act) creates an explicit reasoning trace that improves tool selection accuracy. The error-handling rule prevents infinite retry loops.
Prompt CompressorExplicitly requiring all functional requirements to be preserved prevents the model from over-compressing and losing critical instructions.
Memory Management AgentExplicit memory read/write instructions create agents that improve over time. Categorization keeps memories organized, and the deduplication rule prevents context bloat.