Skip to main content
100%

hexbinchart

✓ Published0🌍 Public
Sscheenmi@gmail.com
Last edited Aug 26, 2023
Created on Aug 21, 2023
Forked from D3 Starter

This example visualizes a label matrix from an orthographic image as a hexbin chart, using color to distinguish between eight different categorical labels. The code loads data from a CSV file, maps each cell’s label to a color using `d3.scaleOrdinal`, and partitions the points with the `d3.hexbin` API. The SVG output renders hexagonal bins clipped to the chart area, with each bin’s fill determined by the dominant label value, producing a gridded heatmap-like representation of the underlying image data.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes