{"version":"1.0","type":"rich","title":"Fork of Rectangles example","description":"This example visualizes a bar chart of items and their prices using D3 and React. The chart uses `d3.scaleBand` and `d3.scaleLinear` to map data to the x and y axes, with SVG `rect` elements drawn for each bar. The y-axis is flipped using a `scale` transform, and axes are rendered via `d3.axisBottom` and `d3.axisLeft`. The code also includes a separate, unreferenced component that would manage circles with `d3.nest` and a `transition` for sorting, though only the bar chart is rendered in the final app.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a9d055c050084c68b6bba64532b7871e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}