You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

202 lines
5.1 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link href='https://fonts.googleapis.com/css?family=Indie+Flower' rel='stylesheet' type='text/css'>
<style>
* {
box-sizing:border-box;
font-family:'segoe ui';
letter-spacing:0.7px;
margin: 0;
padding: 0;
}
#map {
/*background: #098347;*/
height:450px;
width:450px;
}
.main {
position:relative;
height:550px;
width:800px;
}
.container-center {
height:450px;
left:450px;
overflow:auto;
position:absolute;
top:0;
width:200px;
}
.container-right {
background:lime;
bottom:0;
height:100%;
position:absolute;
right:0;
width:150px;
}
.container-bottom {
background:salmon;
bottom:0;
height:100px;
padding-left:25px;
padding-top:70px;
position:absolute;
width:650px;
}
.month {
background:#ff0;
float:left;
font-size:11px;
height:30px;
line-height:30px;
text-align:center;
width:50px;
}
.year {
background:cadetblue;
height:60px;
}
.detail {
background:#ff0;
transition:background 0.2s ease;
}
.detail.active {
background:#555;
}
.detail.obscured {
opacity:0.2;
}
.detail .station-lat,
.detail .station-lon {
color:#aaa;
}
</style>
</head>
<body>
<div class="main">
<svg id='map'></svg>
<div class="container-center">
<!-- <span class="label left">o</span>
<input type="range" title='Reticle Size'>
<span class="label right">O</span>
<span class="label left">Slow</span>
<input type="range" title='Animation Speed'>
<span class="label fast">Fast</span>
<hr> -->
<div class="title">Station Data</div>
<div class="station-info"></div>
</div>
<div class="container-right">
<!-- <svg id='yearly'></svg> -->
<div class='year'>1980</div>
<!-- <div class='year'>1981</div>
<div class='year'>1982</div>
<div class='year'>1983</div>
<div class='year'>1984</div> -->
<div class='year'>1985</div>
<!-- <div class='year'>1986</div>
<div class='year'>1987</div>
<div class='year'>1988</div>
<div class='year'>1989</div> -->
<div class='year'>1990</div>
<!-- <div class='year'>1991</div>
<div class='year'>1992</div>
<div class='year'>1993</div>
<div class='year'>1994</div> -->
<div class='year'>1995</div>
<!-- <div class='year'>1996</div>
<div class='year'>1997</div>
<div class='year'>1998</div>
<div class='year'>1999</div> -->
<div class='year'>2000</div>
<!-- <div class='year'>2001</div>
<div class='year'>2002</div>
<div class='year'>2003</div>
<div class='year'>2004</div> -->
<div class='year'>2005</div>
<!-- <div class='year'>2006</div>
<div class='year'>2007</div>
<div class='year'>2008</div>
<div class='year'>2009</div> -->
<div class='year'>2010</div>
<!-- <div class='year'>2011</div>
<div class='year'>2012</div>
<div class='year'>2013</div>
<div class='year'>2014</div> -->
<div class='year'>2015</div>
</div>
<div class="container-bottom">
<!-- <svg id="monthly"></svg> -->
</div>
</div>
<!-- <script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script> -->
<script src="d3.min.js"></script>
<script src="client/data.js"></script>
<script src="client/svg-map.js"></script>
<script src="client/ui-behaviors.js"></script>
<script src="client/ui-dom.js"></script>
<script src="client/_init.js"></script>
<!-- <script src="gradients-v1.js"></script> -->
<!-- <script src="gradients-v2.js"></script> -->
<!-- <script src="gradients-v3.js"></script> -->
<!-- <script src="gradients-v4.js"></script> -->
<!--
https://css-tricks.com/svg-line-animation-works/
DISCUSS:
Gradient evolution
- Opacity solution lacks saturation and transition alignment (omit?)
- Composite solution overly complex and lacks transition alignment
- Square mesh OK, causes diamond-shaped artifacts
- Triangle mesh?
gourand / phong?
Delaunay / Voronoi
Mesh gradients / coon mesh (http://www.svgopen.org/2011/papers/18-Advanced_Gradients_for_SVG/)
feImage
ogr2ogr -f GeoJSON -clipsrc -114 32.5 -125 43 -where "name IN ('California', 'Oregon', 'Nevada', 'Idaho')" california.geojson states.shp
http://dvisvgm.bplaced.net/Gradients
http://www.gdal.org/ogr_sql.html
http://www.sarasafavi.com/intro-to-ogr-part-i-exploring-data.html
-->
<h3>ETL Stage</h3>
</body>
</html>