Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hex map of UK constituencies

Public visualization

Viewing a saved revision (read-only)

0981d79c97ab44d48f6137eabce60e01

Hex map of UK constituencies

0 stars0🌍 Public
Jjl2047
Last edited Nov 7, 2019
Created on Nov 7, 2019

This example shows UK parliamentary constituencies as a hexagonal grid map, using color to encode different data attributes such as region, population, or election results. Users can click on a hexagon to highlight or dim other regions, and a legend allows filtering by color value. Built with D3, it uses `geoNaturalEarth1` and `geoPath` for the map projection and shape rendering, while `scaleOrdinal` with `schemeSpectral` assigns colors. The visualization supports zooming via d3.zoom and renders as an SVG, with data loaded from a provided HexJSON file.

AI-generated description