Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (62 sloc) 1.95 KB
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Updating Data</title>
<link rel="stylesheet" href="css/foundation.css" />
<script src="js/vendor/modernizr.js"></script>
</head>
<body>
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name">
<h1><a href="#">D3 Demos</a></h1>
</li>
</ul>
</nav>
<div class="row">
<div class="large-12 columns">
<h1>Updating Data</h1>
</div>
</div>
<div class="row">
<div class="large-8 columns">
<p>This demo shows you how to update data.</p>
</div>
</div>
<div class="row">
<form role="form">
<input id="dataIndex" type="hidden" />
<div class="large-4 medium-4 columns">
<label for="radius">Radius &mdash; <span id="radiusValue"></span></label>
<input id="radius" type="range" class="form-control" min="5" max="50" />
</div>
<div class="large-4 medium-4 columns end">
<label for="height">Height &mdash; <span id="heightValue"></span></label>
<input id="height" type="range" class="form-control" min="10" max="300" />
</div>
<div class="large-12 medium-12 columns">
&nbsp;
</div>
<div class="large-12 medium-12 columns">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</form>
</div>
<div class="row">
<div class="large-12 columns">
<div id="chartContainer">
</div>
</div>
</div>
<script src="js/vendor/jquery.js"></script>
<script src="js/foundation.min.js"></script>
<script src="js/d3/d3.js"></script>
<!-- Custom Example Code -->
<script src="js/d3/updating_data.js"></script>
<script>
$(document).foundation();
</script>
</body>
</html>
You can’t perform that action at this time.