Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Heatmap D3 random

Public visualization

Heatmap D3 random

0 stars0🌍 Public
LLewis Ward
Last edited Aug 11, 2021
Created on Aug 11, 2021

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 description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed