Library
ChartsD3
Low-level data visualization toolkit usable with Preact rendering.
Native PreactActive
Native Preact
Built for Preact and does not require a React compatibility layer.
Packaged3
npm install d3export function Example() { return <section>D3 can be evaluated inside a Preact component.</section>;}Known limitations
- PreactHub still needs project-specific verification notes for versions, bundle impact and edge cases.
Introduction
D3 is tracked in PreactHub because it is relevant for Preact applications, migrations, ecosystem comparisons or adjacent tooling.
Preact configuration
No `preact/compat` alias is required for the primary API.
SSR notes
The library can participate in SSR-oriented workflows when browser-only APIs are guarded.
Islands notes
D3 can be used from interactive islands as long as initialization is scoped to the island root and cleaned up when necessary.