Skip to content

Instantly share code, notes, and snippets.

View yolo-ling's full-sized avatar

yolo-ling yolo-ling

View GitHub Profile
@stepheneb
stepheneb / index.html
Last active June 17, 2023 04:10
D3 Example: zoom, pan, and axis rescale
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>One Graph</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script>
<script type="text/javascript" src="simple-graph.js"></script>
<style type="text/css">
body { font: 13px sans-serif; }
rect { fill: #fff; }