Plotly.js vs similar
2 options side by side. Our @design-infra pieces render live under the design system you choose; upstream pieces show their live demo where the host allows embedding, otherwise a screenshot with a link to the real thing. Pick or pass, then copy the feedback for your agent.
- No preview yetOpen live demo ↗recipeTechnicalRefined
Use the open-source JavaScript library rather than assuming a paid hosted product. Load browser-only code outside SSR and inspect bundle size; clean up plots when leaving the page. Upstream: https://github.com/plotly/plotly.js. License: MIT. Package metadata: plotly.js-dist-min@4.1.2. Runtime integration is not verified by this metadata sync.
$pnpm add plotly.js-dist-min - No preview yetOpen live demo ↗recipeTechnicalRefined
Use existing chart components first when they fit. D3 is a composition toolkit, not a ready-made UI. Assign DOM ownership carefully in React and budget for axes, interaction and accessibility. Upstream: https://github.com/d3/d3. License: ISC. Package metadata: d3@7.9.0. Runtime integration is not verified by this metadata sync.
$pnpm add d3
Feedback for your agent
Pick or pass on each option (add a reason if you like), then paste this back into your agent's chat.
From design-infra compare — Plotly.js vs similar: (no picks yet) Compare: https://www.owencoonahan.xyz/design-infra/compare?ids=plotly/library,d3/library&label=Plotly.js+vs+similar