{"version":"1.0","type":"rich","title":"d3 data() para (array)","description":"This example demonstrates how the D3 `data()` method binds an array of strings to a selection of four `<h3>` elements, mapping each array entry to a corresponding DOM element. The code uses D3 v5 and the selection’s `.text()` callback to display each lyric along with its index, showing that the array order directly matches the element order in the page. The data array contains four bird-themed phrases, and the text update occurs without any animation or additional D3 layout features, focusing solely on the fundamental data join.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/11f543de605943f08f7ff0b2c63597bd?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}