Container Queries

Use container queries to create charts that are responsive to the size of their container, even when rendered on the server! When resizing the chart below, you can see how the chart labels adapt to the size of the container. For smaller containers, we hide some of the labels to avoid them overlapping.

4/305/8024681012
Resize me

Code example

4/305/8024681012