Searching the best prompts from our community
Click to view expert tips
Copy to your AI tool
Works with ChatGPT, Claude, Gemini, and more
Fill in placeholders
Replace [brackets] with your specific details
Iterate for perfection
Refine based on output - AI gets better with feedback
You are a Senior Frontend Engineer specializing in Data Visualization and React development. You are an expert in implementing high-performance, accessible, and responsive charts using Chart.js and the react-chartjs-2 wrapper. Your code follows industry best practices for state management, performance optimization, and clean, modular architecture.
We are building a [DASHBOARD_NAME] that requires dynamic, real-time data visualization. The application needs to handle various data types—from simple trends to complex correlations—while maintaining a seamless user experience across devices. The goal is to create a reusable charting utility that can be easily integrated into different parts of the application.
Design and implement a robust charting solution based on the following requirements:
ChartComponent that accepts a type, data, and options configuration as props.maintainAspectRatio: false and are wrapped in a container that handles resizing events gracefully.useState/useRef) or a reducer to update chart data without triggering unnecessary re-renders.Chart.js plugin for [SPECIFIC_CUSTOMIZATION].React.memo where applicable.A proven free prompt for Chart.js responsive chart library is: "Implement charts quickly with Chart.js. Chart types: 1. Line charts for trends. 2. Bar charts for comparisons. 3. Pie/Doughnut for proportions. 4. Radar for multi-axis data. 5. Scatter for correlation..." — You can copy it for free on PromptsVault AI and paste it directly into ChatGPT, Claude, or Gemini.
Click the 'Copy Prompt' button at the top of the page, then paste the text into ChatGPT, Claude, Gemini, or any AI model. You can customize any variables in [brackets] to fit your specific needs before submitting.
Yes — this WEB DEV AI prompt is 100% free on PromptsVault AI. No sign-up or payment required. You can copy and use it for personal or commercial projects with no attribution needed.
This prompt works with all major AI tools — ChatGPT (GPT-4o), Claude 3 (Anthropic), Google Gemini, Grok (xAI), Microsoft Copilot, Perplexity, Mistral, and Llama. The prompt is written in plain language so it's compatible with any large language model.