D3Map Region Views

Categories

Component ID

2606188

Component name

D3Map Region Views

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

318

Component created

Component changed

Component body

The D3Map Region Views module extends the feature of D3Map views module.

This module helps to highlight specific regions and makes each region clickable to filter the content to specific region.

We can also highlight regions by extending feature of highlighting states from D3Map views module.

Existing display "D3 Map" is being extended to new display "D3 Map Region" to change states to regions based.

More Technical Notes:

  • The module uses new view display "D3 Map Region" that can be used to render the content of a view
  • The map display uses json file of states present in d3map views module.
  • Custom territories are added to map for their representation as well as smaller state areas on the east coast (D3 manipulation)
  • This is intended to be added to a page which contains the desired view of the content and has a region field which uses "region" as the URL variable representing the region to filter the content accordingly.
  • Clicking a region generates a "page click" that changes the "region" value in the URL to the desired region representation value of the selected state

Dependencies

D3 Map Views module is required since this module is the extension of it.

D3 Library is also required which includes one of the versions of D3.js

Please refer readme.txt for installation and configuration.