Skip to main content
100%

Oklahoma Counties

✓ Published0🌍 Public
MMTClass
Last edited Mar 26, 2017
Created on Mar 26, 2017

This example displays a map of Oklahoma’s counties, drawn as individual gray paths with darker borders between counties and a thicker outline around the state. Hovering over any county turns it orange. The map loads county geometries from a TopoJSON file and renders them as SVG using `d3.geo.path` with a null projection, meaning coordinates are used directly. The code relies on `topojson.feature` to convert the Topology into GeoJSON and `topojson.mesh` to draw the county and state boundary lines.

AI-generated description

Bug in the makefile. Will update when fixed. Can use us-atlas to produce the same counties.json file.

UPDATED with working makefile. Fork of us-atlas example.

forked from <a href='http://bl.ocks.org/darrenjaworski/'>darrenjaworski</a>'s block: <a href='http://bl.ocks.org/darrenjaworski/8916260d4866ad2646e2'>Oklahoma Counties</a>

mit Licensed

Similar vizzes