{"version":"1.0","type":"rich","title":"05. D3 Paragraphs Text","description":"This example demonstrates how to bind an array of numbers to paragraph elements and display each value as text content. The code uses D3’s selection methods `selectAll`, `data`, `enter`, and `append` to create `<p>` elements for each data point, then sets their text with the `text` function. The dataset `[5, 15, 20, 25]` is hardcoded, and the visualization relies on D3’s data-join pattern to render static, non-animated output.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9b15165c2cfa4bfea2bf6e80c8293a7b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}