{"version":"1.0","type":"rich","title":"Inputs of Data Viz (React)","description":"This example demonstrates how to summarize a raw CSV dataset by displaying its size in kilobytes, row count, and column count as large monospaced text. Built with React and D3.js, it uses D3’s `csv` function to fetch and parse a dataset of Mexican states from a GitHub gist. A callback in a `useEffect` hook triggers the fetch, and the result is formatted via a custom `message` function that relies on `d3.csvFormat` to compute the data’s size. The rendered output appears in an SVG-based layout.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ab56707a28d04ecfa3d59ddd46773970?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}