Hacker News new | ask | show | jobs
by andnand 1234 days ago
Very neat! Can someone explain the json is being rendered? I had no idea json could be rendered as an image? https://github.com/billywojcicki/vexillologist/blob/master/w...
2 comments

Not sure but it may be TopoJSON: - https://github.com/topojson/topojson - https://github.com/topojson/topojson-specification

My guess is that Github just recognizes and supports previewing this particular spec.

This is correct
It's geojson, Github renders that: https://github.blog/2013-06-13-there-s-a-map-for-that/

Edit: I was wrong, it's topojson as per the other reply, based on the data-type attribute that's set on the div outside the map