{"version":"1.0","type":"rich","title":"data binding","description":"This example demonstrates data binding in D3 v5 by loading a JSON file with character details and rendering each entry as a paragraph. It shows how `d3.json()` returns a promise, using `.then()` to handle the data, then applies the data join pattern with `selectAll`, `.data()`, `.enter()`, and `.append()`. The code binds each object from `cars.json`—containing name, age, and location fields—to a `<p>` element, displaying the character’s name and location via the `.text()` callback. The example relies on D3’s core selection and data-binding APIs.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6d4ac498cfff4684818abf2e1e01847d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}