{"version":"1.0","type":"rich","title":"Responsive Axes ","description":"This example demonstrates responsive axes that adapt to a container’s changing dimensions using a ResizeObserver. The visualization shows a gray plot area with labeled x and y axes, where tick counts automatically adjust based on the inner width and height. The code builds on D3 v7, using `scaleLinear` for coordinate mapping, `axisBottom` and `axisLeft` for axis rendering, and modular functions imported from separate files to organize scales, labels, and axis components. The `observeResize` module triggers re-rendering whenever the container size changes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2b50b4cff322414a8c97bed0d2874ea3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}