[ Launch: Clickable Line ] 5565482 by lewis500
[ Launch: Clickable Line ] 5565480 by lewis500
-
-
Save lewis500/5565482 to your computer and use it in GitHub Desktop.
Clickable Line Setup
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
{"description":"Clickable Line Setup","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01} |
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
var svg = d3.select("svg"); | |
var data = [ | |
{x: 0, y: 0}, | |
{x: 0, y: 10}, | |
{x: 10, y: 0}, | |
{x: 20, y: 10}, | |
{x: 30, y: 20}, | |
{x: 40, y: 60}, | |
{x: 50, y: 30}, | |
{x: 60, y: 52}, | |
{x: 143, y: 20} | |
]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment