Lab 5: D3

Here we are using the JavaScript library D3 to embed a map.

D3 or "Data-Driven Documents" is a library for JavaScript that allows for the production of data visualization. On this page D3 is able to center the map properly based on the width and height variables set in the first lines of the script. To center the map we have to change the projection variable's rotation of the longitude value to 90. As there are only two values, our roll will be 0 degrees. If we desired to underline our location titles we would have to add a text decorator in css in the format of "text-decoration: underline;".