World map of locations of a selection of environmental metagenoems contained in the Integrated Microbial Genomes System (IMG/M), a genome browsing and annotation platform developed by the U.S. Department of Energy (DOE)-Joint Genome Institute (JGI). Points scaled by sequencing depth and colored based on broad categories of aquatic (blue), terrestrial (green), and air (grey). This work is expands upon the excellent Let's Make a Map tutorial by Mike Bostock, utilizing the Geo Projections and Geo Paths generators build into D3.js. The projection being used is the Kavrayskiy_VII.
Cartographic information is the 50m Admin 0 - Details dataset, obtained from Natural Earth. The tutorial goes into great detail of how to create a GeoJSON.
To simply place points on the map, the input csv file need only have two columns named latitude
and longitude
. However, the tool-tip assumes additional columns name
, fillKey
, mbs
, and project
.
- See imgm_bubble_data.csv for an example.
SVG Crowbar is a great tool for extracting SVG files from d3 plots for downstream purposes.