Skip to main content
100%

Fork of gme

✓ Published1🌍 Public
MMark Lam
Last edited Nov 9, 2021
Created on Nov 8, 2021
Forked from gme

This visualization displays stock symbols in a 5-column grid of colored squares, where each square's color represents a relative score from red to green. Hovering over a square highlights it and updates a tick indicator on a gradient legend below to show the exact score value. The code uses D3 v7 with `scaleLinear` for color encoding and positioning, `json()` for loading data, and event handlers for mouse interactions. Data comes from a JSON file containing company information, rendered as SVG rectangles and text elements.

AI-generated description
MIT Licensed

Similar vizzes