{"version":"1.0","type":"rich","title":"Parsing data with D3 csv","description":"This example demonstrates how to parse CSV data from a remote URL using D3’s `d3.csv` method, then summarizes the dataset’s size and structure in plain text on a web page. The code fetches CSS named colors from a GitHub gist, counts the number of rows and columns, and calculates the formatted data’s size in kilobytes. It then displays these statistics in a large `<pre>` element, using `d3.csvFormat` and `data.columns` to inspect the parsed result. The page uses D3 v6 and vanilla JavaScript, with styling controlled by CSS.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9fa393568a22440aa21180858616b638?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}