A data-driven JavaScript map of China
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
vendor/assets
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

China Map

This is a small side project I put together with the goal of making an interactive JavaScript map of China. The map is a jVectorMap, and the data comes from the Wikipedia articles on each region in China.

Visit amapofchina.herokuapp.com to see it in action!

Application Setup

  • Run bundle

  • Run rake db:migrate

  • Run rake db:seed to populate the database

  • Boot up the server with rails s

  • Visit localhost:3000 to view the map

  • Mouse over a region to see more information about it!