This is a d3 viewer that shows how to incorporate a minimap to provide a scaled overview of the content of the canvas.
A Pen by Bill White on CodePen.
This is a d3 viewer that shows how to incorporate a minimap to provide a scaled overview of the content of the canvas.
A Pen by Bill White on CodePen.
| <h1>Changing the Style</h1> | |
| <p>JavaScript can change the style of an HTML element.</p> | |
| <button type="button" onclick="openMe()">Open!</button> | |
| <button type="button" onclick="closeMe()">Close!</button> | |
| <p id="demo">Extra details...You can open and close this paragraph using the buttons above.</p> |
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <title>SANKEY Experiment</title> | |
| <style> | |
| .node rect { | |
| cursor: move; | |
| fill-opacity: .9; | |
| shape-rendering: crispEdges; | |
| } |
| license: mit | |
| border: yes | |
| height: 0 |
| license: mit |
| height: 300 | |
| border: no | |
| license: MIT |
| license: gpl-3.0 |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
| <title>UK Map</title> | |
| <script type="text/javascript" src="http://d3js.org/d3.v3.min.js"></script> | |
| <style type="text/css"> | |
| svg { | |
| width: 500px; | |
| height: 500px; |
| license: mit |