{"version":"1.0","type":"rich","title":"Fork of Axis Labels","description":"This example demonstrates how to add labeled axes to a D3 visualization. It renders a gray inner rectangle with a linear x-scale and y-scale, then uses D3’s `axisBottom` and `axisLeft` to draw the axes. The x-axis label is centered horizontally, while the y-axis label is rotated -90 degrees and positioned along the left edge. The code relies on D3 v7 APIs such as `scaleLinear`, `select`, `join`, and `axisBottom`/`axisLeft`, with modular functions for each axis and label component.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f890a9cb5e324d0eb07a6ec85af4df9b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}