{"version":"1.0","type":"rich","title":"D3 Example 3","description":"Two interactive D3 examples demonstrate HTML list construction and selection. The first version displays the phrases “From East,” “to West,” “at Home,” and “is Best” as clickable list items; each click toggles the text color between red and blue using a 500-millisecond transition applied via D3’s `transition()` method. The second, simpler version uses `d3.select`, `append`, `selectAll`, and `data().enter()` to build the same static list without interactivity. Both rely on D3 v7, initiated through the `body` element’s onload event.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/83597b6a34bb4a64b5d6ea9ac093c1e0?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}