LoadCsv-v1
✓ Published1🌍 Public
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.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.
Shows the Iris Dataset.
MIT Licensed