{"version":"1.0","type":"rich","title":"Loading and parsing CSV data","description":"This example demonstrates two approaches to loading and parsing CSV data in D3. It fetches a remote CSV file containing CSS named colors and their corresponding RGB values, first using the promise-based `d3.csv` method to parse the data automatically, and second using the native `fetch` API combined with `d3.csvParse` to manually parse the raw text. Both results are logged to the browser console. The code relies on D3 v7 and illustrates the difference between D3’s built-in fetch-and-parse convenience and a more explicit, lower-level workflow.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e2033dc07d2648bda0c5ce8c0f543c5b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}