{"version":"1.0","type":"rich","title":"Responsive Axes","description":"This example demonstrates axes that adjust to the browser window size, with a simple bar chart showing grocery item prices. A resize event listener calls a render function that rebuilds the visualization using the updated viewport dimensions. The implementation applies D3 v5’s margin convention to compute inner dimensions, then uses `d3.axisBottom` and `d3.axisLeft` with dynamic tick counts based on pixel density. Axes are labeled via custom functions, and SVG elements are updated through data joins, ensuring the chart remains responsive.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4a9afd14d704412b9805096225b9a415?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}