Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Id | 3,098 | 2 | a day ago | 21 | July 15, 2022 | 1,162 | isc | JavaScript | ||
🆔 The easy-to-use OpenStreetMap editor in JavaScript. | ||||||||||
React Simple Maps | 2,850 | 148 | 79 | 2 months ago | 48 | July 01, 2023 | 153 | mit | JavaScript | |
Beautiful React SVG maps with d3-geo and topojson using a declarative api. | ||||||||||
Iclient Javascript | 790 | 1 | 7 | a day ago | 20 | June 29, 2022 | 19 | apache-2.0 | JavaScript | |
Modern GIS Web Client for JavaScript, based on Leaflet\OpenLayers\MapboxGL-JS\Classic(iClient8C), enhanced with ECharts\D3\MapV etc. Contributed by SuperMap & community. | ||||||||||
D3 Carto Map | 261 | 9 years ago | 20 | unlicense | JavaScript | |||||
A mapping API that uses D3 geospatial functionality | ||||||||||
Keen Dataviz.js | 216 | 34 | 7 | 2 years ago | 107 | April 30, 2021 | 11 | mit | JavaScript | |
Data Visualization Charting Library | ||||||||||
Manhattanpopulationexplorer | 171 | 5 months ago | apache-2.0 | JavaScript | ||||||
A MapBoxGL and D3 web mapping tool for exploring the dynamic population of Manhattan. | ||||||||||
D3 Deconstructor | 150 | 8 years ago | bsd-3-clause | JavaScript | ||||||
A Google Chrome plugin for extracting data from D3 visualizations. | ||||||||||
Gridviz | 143 | 2 days ago | 20 | October 01, 2021 | 6 | eupl-1.2 | JavaScript | |||
A package for visualizing gridded data 🌐 | ||||||||||
D3 Geomap | 117 | 3 | 1 | 2 years ago | 12 | December 11, 2019 | 6 | mit | JavaScript | |
A library for creating geographical maps based on D3.js | ||||||||||
Magrit | 96 | 3 months ago | 17 | other | JavaScript | |||||
♠ Thematic cartography ♠ |
d3-geomap is designed to be a reusable geographic map for D3.
In its current stage it consists of a class to create plain maps d3.geomap()
and one for choropleth maps d3.choropleth()
.
Refer to the documentation on how to use d3-geomap and to download a bundle that contains minified versions of d3-geomap and its dependencies as well as TopoJSON files for creating world and individual country maps.
$ npm install d3-geomap
ES6:
import { select } from 'd3-selection';
import { geomap } from 'd3-geomap';
const worldMap = geomap();
worldMap.geofile('./node_modules/d3-geomap/src/world/countries.json');
worldMap.draw(select('#map'));
Otherwise, see examples in the /examples
directory.
Clone the repo & install dependencies:
$ git clone https://github.com/yaph/d3-geomap.git
$ cd d3-geomap
$ npm install
Start the development server:
$ npm run serve
A browser should open pointed to http://localhost:8000/examples/
. Choose to view one of the example maps.
The map above, showing birth countries of Football World Cup 2014 players, was created with d3-geomap. You can find more example maps here.