{"version":"1.0","type":"rich","title":"Loading Data with React & D3","description":"This example demonstrates how to load and parse a CSV file within a React environment using D3 v5. The visualization displays basic statistics about the loaded dataset: its size in kilobytes, the number of rows, and the number of columns, rendered in a large monospace text element. It uses the `d3.csv` method to fetch and parse the data, then applies `d3.csvFormat` to calculate the file size. The data comes from a GitHub Gist containing CSS named colors.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4e5e1d86756c4ea586745ac5f00c9df6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}