🌍 Public
Viewing a saved revision (read-only)
e7c69ce4cb7c4ead9601511e76ce962f
D3 color experiments
This example showcases color scales by displaying a series of color swatches as text labels, each filled with a distinct color derived from a linear scale spanning green, purple, and teal. It also renders the minimum temperature from a San Francisco weekly temperature CSV dataset. Built with React and D3 v7, the visualization uses `d3.scaleLinear` for color mapping, `d3.csv` for data loading, and SVG text elements to render the colors against a black background.
AI-generated descriptionExperimentation with color scales, react + d3