Fork of Rendering Data with React
✓ Published0🌍 Public
This example renders a dataset of color values as a series of horizontal stripes, each colored according to the RGB hex value in the data. The visualization uses React with hooks, including `useState` and `useEffect`, to load the CSV data from a GitHub gist via d3’s `csv` function. Each stripe is a `<div>` element styled with inline CSS, creating a stacked bar chart-like display that fills the viewport width.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed