Skip to main content
100%

China tile grid map

✓ Published0🌍 Public
EEndNight95
Last edited Aug 6, 2018
Created on Aug 6, 2018

A tile grid map of China displays provincial electricity consumption for 2015, with each province flattened into a square positioned on a grid and colored by a quantile scale from light yellow to dark red. A toggle button triggers an animated transition between the original geographic layout and the gridded arrangement. The visualization combines D3 v4, the geo2rect library for polygon-to-rectangle conversion, and Turf.js for geometric calculations. Province boundaries and values come from a China GeoJSON file and a CSV dataset.

AI-generated description

Inspired by Maarten Lambrecht's Europe example, using geo2rect by Sebastian Meier. Geojson data for China map is from china-geojson.

forked from <a href='http://bl.ocks.org/officeofjane/'>officeofjane</a>'s block: <a href='http://bl.ocks.org/officeofjane/d33d6ef783993b60b15a3fe0f8da1481'>China tile grid map</a>

forked from <a href='http://bl.ocks.org/EndNight95/'>EndNight95</a>'s block: <a href='http://bl.ocks.org/EndNight95/150d009d8741bf17beadd6c9975b6671'>China tile grid map</a>

forked from <a href='http://bl.ocks.org/EndNight95/'>EndNight95</a>'s block: <a href='http://bl.ocks.org/EndNight95/4b50ae1cd529c54ab745a6a1f8cceb24'>China tile grid map</a>

mit Licensed

Similar vizzes