{"version":"1.0","type":"rich","title":"Let's make a face with D3.js","description":"This example demonstrates how data binding and updates with D3 v5 can make a face out of fruit circles. The code uses `d3.select`, `scaleOrdinal` for color and radius, and joins circle elements to an array of fruit objects. Initially five apples render; after one second, a fruit is removed via `fruits.pop()`, and after two seconds, one apple becomes a lemon, updating the visualization with enter, update, and exit selections.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/907cb0dcd71a407caef5d16126c23aae?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}