Choropleth

Chile dinamic choropleth d3

.land { fill: #222; } .county-boundary { fill: none; stroke: #fff; stroke-width: .5px; } .state-boundary { fill: none; stroke: #fff; } .border { stroke: #000; fill: none; } .graticule { fill: none; stroke: #777; stroke-width: .5px; stroke-opacity: .5; }

//var width = 300, height = 700; var width = $(“#d3div”).width(), height = 700; var projection = d3.geo.transverseMercatorChile() .translate([width / 2, height / 2]); var path = d3.

worldmap choropleth d3

body { font-family: “Helvetica Neue”, Helvetica, Arial, sans-serif; width: 960px; height: 500px; position: relative; } #canvas { } #canvas-svg { } .land { fill: #222; } .boundary { fill: none; stroke: #fff; stroke-width: 1px; } #tooltip-container { position: absolute; background-color: #fff; color: #000; padding: 10px; border: 1px solid; display: none; } .tooltip_key { font-weight: bold; } .tooltip_value { margin-left: 20px; float: right; }

d3.

UpDog logo  Proudly hosted with UpDog.