MinnPost / simple-map-d3

A very simple "choropleth" style map with D3. All you need is a GeoJSON of polygons.

Home Page:http://code.minnpost.com/simple-map-d3/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Map (D3)

A very simple "choropleth" style map with tooltips with D3. All you need is a GeoJSON of polygons.

Usage

See code.minnpost.com/simple-map-d3 for instructions, configuration, and examples.

Development

Install

  1. Install NodeJS.
  2. Install Grunt: npm install -g grunt-cli
  3. Install Bower: npm install -g bower
  4. Install packages: npm install && bower install

Build

  1. Run: grunt

Testing

There are some very basic tests in the tests/ folder. Run them like so: node tests/core.js

Browser support

As this library depends heavily on D3 and SVG, Simple Map will only work in "modern" browsers. The following is some basic tests run on Tesling.

browser support

About

A very simple "choropleth" style map with D3. All you need is a GeoJSON of polygons.

http://code.minnpost.com/simple-map-d3/

License:MIT License


Languages

Language:JavaScript 54.1%Language:HTML 43.0%Language:CSS 2.9%