{"version":"1.0","type":"rich","title":"Fetch Color Data","description":"This example demonstrates how to load and process CSV data from a remote URL using D3.js within a React application. It fetches the CSS named colors dataset via `d3.csv`, calculates the size of the formatted CSV string in kilobytes, and counts the number of rows and columns in the parsed data. The results are displayed as text in a preformatted block, showcasing D3’s data-parsing capabilities and the integration of React for rendering the output. The code highlights the use of `d3.csvFormat` and `d3.csvParse` for data transformation.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9b65d807d24440ae8eb7413d9542024c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}