Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 2.08 KB

README.md

File metadata and controls

50 lines (31 loc) · 2.08 KB

geochart-euskadi

Javascript geochart maker for the Basque Country.

The API is intended to be as similar to GCharts' one as possible. Comparing to GCharts, this project shows more fine-grained information about this region. Who knows if they will add it in the future or not, but in the meantime we have this.

Basic Usage

First, put the files in a web server. If you want to quickly check it and you have a GNU/Linux with Python installed, just run runserver.sh:

bash runserver.sh

Then, simply load sample.html in your browser (if you have executed runserver.sh, go to http://localhost:8000/sample.html). You can also customize the example according to your needs editing the drawRegionsMap function in sample.html and refreshing the browser.

Finally, if you want to use it in you own web project, just call to the library as done in the example.

Implemented features

  • Available resolutions of the map: municipalities, comarcas and province.
  • Show labels or not.
  • Shadowing areas according to a color gradient depending on their values.
  • Customizable color gradient.
  • Tooltips with additional information about the different areas.

Screenshots

Image sources