{"version":"1.0","type":"rich","title":"Learn d3.js","description":"This example demonstrates the fundamental data-binding pattern in D3.js by binding an array of six numbers to paragraph elements and displaying each value as text. The code uses `d3.select` to target the body, then chains `selectAll('p')`, `.data()`, `.enter()`, and `.append('p')` to create one paragraph per data point. The `.text()` method with a function returns each datum, rendering the numbers 1 through 6 on the page. It relies on D3 v4’s core selection and data-join APIs within a minimal HTML setup that loads the library from a CDN.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/eb65da1aa5d24a0393122b681dff856c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}