{"version":"1.0","type":"rich","title":"D3 data loading","description":"This example demonstrates asynchronous data loading in D3 by fetching a CSV file of iris flower measurements (`data.csv`) and displaying the parsed content as a JSON string inside a `<pre>` element. While the request is pending, the text shows “LOADING” before replacing it with the data. Using `d3.csvParse` alongside the `fetch` API, the code converts text into an array of objects, then coerces numeric fields such as `sepal_length` and `petal_width` into numbers with the unary plus operator. The visualization relies on D3 v7 selections with `.join()` to update the DOM, while `index.js` manages a simple state pattern.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b7fc1e972d374a30b9058a2370f652dc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}