--- name: nexus-graph-d3 description: D3.js standards for Knowledge Graph --- # D3.js Standards - **Data Exchange:** Use `System.Text.Json` with CamelCase naming. - **JS Interop:** Use ES6 modules and `IJSObjectReference`. - **Responsiveness:** SVG must use `viewBox` for fluid portrait scaling. - **Visuals:** Use CSS variables (`--nexus-neon`) for node styling. - **Events:** JS emits events (like `nodeClicked`) caught by Blazor via `DotNetObjectReference`.