This is the choropleth section of the gallery. If you want to know more about this kind of chart, visit data-to-viz.com. If you're looking for a simple way to implement it in d3.js, pick an example below.
The most basic choropleth map you can do in d3.js. Keeping
only the core code.
Input data format: geoJson