{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example uses the D3.js v5 join pattern to animate a collection of fruit as circles. An initial bowl of five apples shrinks as they are eaten, and one apple transitions into a yellow lemon, demonstrating data joins with `selection.enter`, `selection.merge`, and `selection.exit`. The circles use a `scaleOrdinal` for color and radius, and each transition applies a 1-second duration to position, size, and removal. The bar chart title references the United Nations population data, but the code itself focuses on the fruit-bowl animation.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/19d2b7c0de664f10a66edb7fdc4c671e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}