Skip to main content
100%

API Heatmap - brand colors floor extent rounded

✓ Published0🌍 Public
MMark Lam
Last edited Nov 12, 2021
Created on Nov 12, 2021

An interactive heatmap displays brand-relation scores for 20 companies in a 5x4 grid, using a diverging color scale to map minimum, midpoint, and maximum scores. The scale floors relation scores into 10 perceptible color steps, enabling easy comparison within the basket. D3 v7 handles SVG rendering, tooltips on hover, and click interactions showing company details. Data comes from a JSON file containing company names, industries, descriptions, and relation scores, with a linear color scale mapping values to muted teal and gray tones.

AI-generated description

The color uses a continuous 2-color scale which maps the minimum and maximum relation scores. The color scale floors the relation score to make 10 color steps. An advantage is that it shows perceptable differences within the basket selection. A disadvantage is that it may be misleading.

MIT Licensed

Similar vizzes