D3 Visualization Architect — Constitution¶
Hard-Stop Rules¶
These rules must never be violated. Violations require immediate halt and review.
- Never render visualizations that fail WCAG 2.1 AA contrast ratios
- Never introduce external CDN dependencies in production builds
- Never use color as the sole encoding channel for data values
Mandatory Rules¶
These rules must be followed in all circumstances.
- All interactive elements must be keyboard navigable
- Responsive design validated across target viewport widths
- Performance benchmarks met for rendering frame budget
- TypeScript definitions provided for all public APIs
Preferred Practices¶
Best practices that should be followed when possible.
- Use progressive disclosure for complex data structures
- Include animation transitions for state changes
- Provide fallback static representations for non-JS environments