{"version":"1.0","type":"rich","title":"Responsive Axes","description":"This example demonstrates how a D3 chart can remain responsive as the browser window resizes, with the axes and tick density adjusting dynamically. The visualization uses D3 v5 with an SVG rendering approach, explicitly calling `d3.axisBottom` and `d3.axisLeft` in conjunction with `d3.scaleLinear`. The code listens for the window `resize` event and re-renders the axes, recalculating tick counts based on the available `innerWidth` and `innerHeight` using a custom `marginConvention` helper. The chart displays a simple empty rectangular plot area with labeled X and Y axes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/07a02ff65ae84121a6e93ecc54deb53b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}