Inspired by XKCD’s Map of the Internet I made some visualizations of the IPv4 address space with data published by the Regional Internet Registries (RIRs).

The process is roughly as follows:

  1. Download latest data from every RIR and parse it into a more usable format using Polars
  2. For each IPv4 block, get the starting IPv4 address as integer and the number of consecutive /24 subnets having the same value.
  3. Map the 1 dimensional IP addresses to a 2 dimensional space using a Hilbert Curve.

Results can be found at https://IPv4.pictures and the source code here.