Andrew Thornton

Every Road in Texas


June 28, 2016

In this static visualization, I map every road in Texas. The data comes from TNRIS.

I was curious how the colorize-alpha technique that I applied here would work for this data set. I was fortunate enough to find this bit of code from Tom MacWright that allowed me to do just that!

In addition to that handy bit of code, I am using d3.js to render this to canvas with Node.js, and piping it to a PNG. I also used topoJSON to reduce the original geoJSON file size from 480 MB to 34 MB.

This is an updated version of the visualization I did here. Originally, I was rendering this dynamically, but the result across browsers was inconsistent. I opted for generating a high-resolution image instead for this version.