{"version":"1.0","type":"rich","title":"Importing Data","description":"This example demonstrates how to import and parse CSV data in a React-based visualization using D3 v5. It fetches a remote CSV file containing CSS named colors and displays the file size in kilobytes on the page. The code uses the `fetch` API to retrieve the data, `d3.csv` to parse it, and `d3.csvFormat` to calculate the formatted output length. A large CSS font size (13em) makes the resulting word count visually prominent, showing a minimal but functional data-import workflow.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/57487821ec9e4f6a9e793d5fdda6dbfc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}