{"version":"1.0","type":"rich","title":"LoadCsv-v1","description":"This example loads CSV data using `d3.csv`, processes each row to calculate a `duration` field, and filters out invalid entries where the end time precedes the start time. The processed data is then passed to a chart via `d3.select(\"#chart\")` with a `.join()` operation that appends text elements. The code references the Iris Dataset as its source, though the actual CSV strings shown are placeholder example data. It demonstrates a reusable scatter plot pattern inspired by Mike Bostock’s \"Towards Reusable Charts\" and Observable’s selection-join technique.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d332199fa857492b9f733aba522c7272?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}