{"version":"1.0","type":"rich","title":"Loading and parsing CSV data","description":"This example demonstrates how to load and parse a CSV file using D3’s `d3.csv` method, then displays basic dataset statistics in a large-format `<pre>` element. It shows the file size in kilobytes, the total row count, and the number of columns from the parsed data. The visualization uses the D3 v7 library, fetching data from a GitHub Gist URL containing named CSS colors. The code formats the raw data with `d3.csvFormat` to compute its size and accesses the parsed array’s `length` and `columns` properties to populate the text output.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f3661e9c87ff4b049f81e7541637cc15?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}