Untitled
✓ Published0🌍 Public
This example demonstrates hexagonal binning for aggregated scatterplot data, using color intensity to encode point density within each hexagon. It loads a CSV from GitHub and maps two numeric fields (F3 and F4) to linear x and y scales. The visualization uses the d3.hexbin plugin to compute bin geometry, with an axis and clip path drawn via d3.svg. A linear color scale transitions from transparent to teal based on bin count, and each hexagon is rendered as an SVG path with a thin black stroke.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed