Heatmap D3 random
✓ Published0🌍 Public
This example shows a 50-by-50 heatmap with randomly generated values, where each cell’s color scales from light teal to dark green. It renders as an SVG using React, with d3.scaleBand for x and y positioning and d3.scaleLinear for the color range. The data is created in-memory via Math.random, and the chart fills the entire browser window.
AI-generated descriptionReact Starter code.
MIT Licensed