Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Heatmap

Public visualization

Heatmap

0 stars0๐ŸŒ Public
CCasperHogenboom
Last edited Nov 1, 2019
Created on Nov 1, 2019
Forked from Cars Scatter Plot

A heatmap displays the value of a product across five countries, with each cell color-coded by the numeric value. The visualization uses a threshold color scale to map values into three colors, while missing data appears as blank cells. The code loads data from a CSV file and renders the heatmap as SVG rectangles using d3.csv, d3.scale.ordinal, d3.svg.axis, and d3.scale.threshold.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed