🌍 Public
Viewing a saved revision (read-only)
55baa072d41b46d68444c3fef17ed11c
parse cvs data with react
This example renders the CSS named color palette as a vertical sequence of colored strips, one row per color. Built with React and D3 v7, it loads CSV data from a remote gist using `d3.csv`, then maps each record to a full-width `div` whose background color is set to the parsed `RGB hex value`. The displayed message summarizes the dataset size, row count, and column count using `d3.csvFormat`.
AI-generated descriptionRendering the CSV colors in react