Pigshell offers some way to use hgrep to extract data from a web page (+an utility to convert into JS objects an HTML table) and a d3.js script to generate a map from these data.
To test a map
- Go on pigshell.com (tested with http://pigshell.com/v/0.6.4/)
- Write cat http://pigshell.com/sample/life-expectancy.html | hgrep table.wikitable | table2js foo country data | iframe -g /usr/template/d3-worldmap1
Source
Fil, pigshell - unix the web