{"version":"1.0","type":"rich","title":"xy co-ordinates","description":"This example maps a four-by-four grid of Cartesian coordinates to an SVG rectangle, using React components and D3.js v5. It renders a single red rectangle at a position derived from the looping variables `i` and `j`. The code defines reusable React components like `MyRect` and `MyCircle`, and uses `ReactDOM.render` to display the SVG. The approach demonstrates basic x/y positioning within a fixed 960×500 viewport.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/246dfe3b141646e0aeb1ed84df557565?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}