# Example Specification with Quality Criteria ## Overview This specification demonstrates how to write specs for the Quality Evaluation & Ranking System. It includes explicit quality criteria that enable automated evaluation. ## What to Generate **Component Type**: Interactive Data Visualization Card **Description**: A self-contained HTML file featuring an interactive data visualization with controls, animations, and responsive design. ## Requirements ### Functional Requirements 1. **Data Visualization** - Display meaningful data using charts, graphs, or visual representations - Support at least one dataset with minimum 20 data points - Implement smooth transitions and animations 2. **Interactivity** - Provide user controls (buttons, sliders, dropdowns) - Respond to user input with visual feedback - Support hover states and tooltips 3. **Responsiveness** - Adapt layout to different screen sizes - Maintain readability on mobile and desktop - Scale visualizations appropriately 4. **Performance** - Render visualization within 500ms - Maintain 60fps for animations - Efficiently handle data updates ### Technical Requirements 1. **File Structure** - Single HTML file (self-contained) - Embedded CSS in `