Skip to content

Instantly share code, notes, and snippets.

@tortillaj
Created April 23, 2017 21:14
Show Gist options
  • Select an option

  • Save tortillaj/0e4b3696fb91477d71e6479cd95ad2f5 to your computer and use it in GitHub Desktop.

Select an option

Save tortillaj/0e4b3696fb91477d71e6479cd95ad2f5 to your computer and use it in GitHub Desktop.

Revisions

  1. tortillaj created this gist Apr 23, 2017.
    3 changes: 3 additions & 0 deletions .block
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    license: mit
    scrolling: yes
    border: no
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    Built with [blockbuilder.org](http://blockbuilder.org)
    25 changes: 25 additions & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    <!DOCTYPE html>
    <head>
    <meta charset="utf-8">
    <script src="https://d3js.org/d3.v4.min.js"></script>
    <style>
    body { margin:0;position:fixed;top:0;right:0;bottom:0;left:0; }
    </style>
    </head>

    <body>
    <script>
    // Feel free to change or delete any of the code you see in this editor!
    var svg = d3.select("body").append("svg")
    .attr("width", 960)
    .attr("height", 500)

    svg.append("text")
    .text("Edit the code below to change me!")
    .attr("y", 200)
    .attr("x", 120)
    .style("font-size", 36)
    .style("font-family", "monospace")

    </script>
    </body>