{"version":"1.0","type":"rich","title":"Fork of Axis Labels","description":"This example demonstrates how to add labels to both axes of a scatterplot-style visualization using D3. The code constructs a simple chart with a gray inner rectangle, linear scales, and bottom and left axes, then appends rotated and centered text labels for the X and Y axes. It uses modular functions like `xAxisLabel` and `yAxisLabel` to position the labels with configurable offsets. The implementation relies on D3’s `scaleLinear`, `axisBottom`, and `axisLeft` APIs, with a ResizeObserver to handle responsive sizing.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/095c6991a79a4a4b9464e751177d2c6e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}