Fork of Fork of visualizing data with react and d3
✓ Published1🌍 Public
This example visualizes CSS color names by rendering each color as a horizontal strip, stacked vertically to form a full-width gradient spectrum. The data is loaded from a CSV file using `d3.csv`, and React manages the state and rendering of the strips via inline styles. The visualization uses React 16.9 and D3 v7, with the SVG output commented out in favor of HTML divs. Each strip’s background color corresponds to the `RGB hex value` field from the dataset.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed