{"version":"1.0","type":"rich","title":"Loading US Election CSV Data","description":"This example demonstrates how to load and summarize US House election data from 2008 to 2020, displaying the file size, row count, and column count in a large HTML text element. It uses `d3.csv` to fetch and parse the remote CSV file, leveraging the promise-based `.then()` method to process the parsed data. The code also includes commented-out alternatives using `fetch` with `async/await` and `d3.csvParse`, as well as a nested promise pattern, showing multiple approaches for handling asynchronous data loading in D3 v5.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4402e6a842364c858230f5c8f81d824b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}