This choropleth encodes unemployment rates from 2008 with a quantize scale ranging from 0 to 15%. A threshold scale is a useful alternative for coloring arbitrary ranges.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<!-- <script src="http://www.jstat.org/jstat-1.0.0.min.js"></script> --> | |
<!-- above source is down, need to build our own jstat (https://github.com/jstat/jstat), meanwhile, use unreliable mirror: --> | |
<script src="jstat.min.js"></script> | |
</head> | |
<body> | |
<div id="d3"></div> | |
<script type="text/javascript"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
<title>Production Metrics Graph</title> | |
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> | |
<!--script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.25.0"></script--> | |
<!--script type="text/javascript" src="http://mbostock.github.com/d3/d3.geom.js?1.25.0"></script--> | |
<!--script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js?1.25.0"></script--> | |
<style type="text/css"> |