Created
January 30, 2020 02:00
-
-
Save JacobKnaack/3c7d1d90f6c994f3158dce9e445a0f27 to your computer and use it in GitHub Desktop.
Flask Analysis: Grabbing our svg
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
// Selects our parent element in our html and appens a new <svg> element | |
const svg = d3.select("#china-map").append("svg") | |
.attr("width", width) | |
.attr("height", height) | |
.append("g") | |
.attr("transform", "translate(0,0)"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment