{"version":"1.0","type":"rich","title":"D3 Reusable Chart","description":"This example demonstrates a reusable scatter plot built with D3 and React, displaying the classic Iris dataset with petal length on the x-axis and sepal length on the y-axis. The visualization uses D3’s `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, while `svg.call()` applies the reusable chart function to the selected SVG element. Each data point is drawn as a circle with an interactive tooltip showing its exact measurements. The chart is configured entirely through method chaining, including dimensions, margins, legends, and title, showcasing a modular pattern for D3 visualizations within a React application.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/704f8e84a5d2430f996d6371983036d5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}