Fork of Renderizando Datos
This example displays a vertical stack of colored rectangular stripes, one for each CSS named color, loaded from a remote CSV dataset. It shows the relationship between color names and their hexadecimal RGB values by rendering each row as a div with its background color set to the corresponding hex code. The code uses React with the `useState`, `useEffect`, and `useCallback` hooks to manage state, `ReactDOM` to render into the DOM, and D3’s `csv` utility to fetch and parse the data from the gist. While loading, it displays a large "loading..." message.