DEV Community

Shreysachar24
Shreysachar24

Posted on

Draw arrow inside a datamaps using d3.js

Draw arrow inside a datamaps using d3.js

2

I am new to d3.js , i am trying to create a custom map svg .

With some reference i did a custom map which is shown below.

Arrow pointed at the bottom left of the page

The code snippet for the above output is here.

https://jsfiddle.net/9kbp4h6j/

"use strict"

var svg = d3.select("body").append("svg").append("g").attr("transform", "translate(100,50)")

svg.append("svg:defs")

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.