{"version":"1.0","type":"rich","title":"Fork of Axis Labels for year","description":"This example demonstrates a simple D3.js visualization that displays a gray inner rectangle with labeled X and Y axes on a white background. It shows how to structure modular code by separating axis rendering into individual files like `xAxis`, `yAxis`, `xAxisLabel`, and `yAxisLabel`. Using D3’s `scaleLinear`, `axisBottom`, and `axisLeft` APIs, the code creates linear scales and renders tick marks, while labels are positioned with SVG text elements, rotated for the Y-axis. The visualization is generated without any external data source, relying on hardcoded axis label strings.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cedd2860e2004e68864adf26e1301927?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}