{"version":"1.0","type":"rich","title":"Untitled","description":"This example presents a minimal interactive visualization built with React and D3, rendering a simple bar chart. The code uses `d3.scaleBand` and `d3.scaleLinear` to map categorical and numerical data to screen positions, with bars drawn as SVG `rect` elements. User interaction is handled through React state, updating the chart when a button is clicked, which triggers a re-render with new data points. The data is embedded directly in the component, and the visualization demonstrates a clean separation between D3’s scale functions and React’s declarative UI updates, offering a basic template for combining these tools.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/41ba895db5f440bf8e476b3cc879d002?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}