← Files Build Web Data VisualizationARCHIVED FILE
references/d3-architecture-patterns.md
766 Bytes · Sep 30, 2026 · 22:48 UTC
# D3 Architecture Patterns ## What Problem This Solves This reference keeps D3 projects maintainable inside modern applications. ## When to Use It Use this when integrating D3 with React, Svelte, or any other framework-owned UI. ## Key Takeaways - Separate data shaping, scales, geometry derivation, rendering, and interaction state. - Let the framework own container structure when possible. - Keep D3 imperative islands narrow and purposeful. ## Common Mistakes - Mixing data loading, layout math, DOM mutation, and app state in one effect. - Letting D3 fight the framework for ownership of the same nodes. ## Adjacent Skills - `../SKILL.md` - `../../typescript-data-visualization-engineering/SKILL.md` ## Source Links - [D3 API](https://d3js.org/api)
SHA-256: 7a529a88ee49081fc1568e59c228ac2c453afebf3622a31cc865b967e0e157dd