Skip to main content
100%

Heatmap

✓ Published0🌍 Public
MMartha Cash
Last edited Mar 28, 2023
Created on Mar 23, 2023
Forked from Chessboard in D3

This heatmap visualizes the frequency of chess opening moves across a 10x10 grid of board positions, with color intensity representing move popularity. The visualization uses d3.scaleBand for axes, d3.scaleLinear for the color gradient from white to green, and d3.axisBottom/axisLeft for labels. Data loads from a CSV file containing sleep efficiency records, though the grid dimensions and labels are hardcoded. The code includes separate modules for axes and heatmap rendering, with d3.csv fetching and d3.selectAll joining rectangles to render cells.

AI-generated description

Project momentum: Create a chess board for visualizing different opening moves and add a drop down menu. Will work on adding transistions to show opening moves

Chessboard: https://vizhub.com/bubbabjh/dd41adfe75f244a3a22978703eb86f88?edit=files&file=index.js and https://stackoverflow.com/questions/27806132/how-to-draw-a-chess-board-in-d3 and https://codepen.io/VividD/pen/bNgGKP?editors=1010

MIT Licensed

Similar vizzes