<GraphProvider> and <GraphRenderer> from @graphysdk/react. They take the scene and turn it into an interactive SVG chart: layout, formatting, interactivity, animation and the chrome tokens. The engine owns everything else.
What the renderer owns
- Layout: measuring text and packing the header, legend, axes and plot into pixel rectangles.
- Formatting: turning raw values into locale-aware numbers, dates and currencies.
- Chrome tokens: the CSS custom properties behind the HTML around the plot (legend, tooltip, headline, footer).
- Interactivity: pointer handling, hover paint and tooltips.
- Animation: transitions between compiled states.
The two components
Rendering is always a<GraphProvider>, which holds the data and spec and compiles them, wrapping a <GraphRenderer>, which paints the result:
In this section
Provider & renderer
The two components and their props.
Sizing
Responsive, fixed and aspect-ratio modes.
Theming
Color scheme, the
theme prop and the chrome tokens around the plot.Formatting & locale
Locale-aware numbers, dates and currencies, UI strings and text direction.
Interactivity
Hover, tooltips and animation.
Styling
The stylesheet on the spec — every geom and chrome element the chart draws.

