javascript - d3.js margin convention -


please see margin convention described here

chart only: http://bl.ocks.org/mbostock/raw/3019563/

two issues

  • if download html file gist (link), below view (google chrome version 26.0.1410.43 )

enter image description here

there no border around svg, , axis line/path not shown. surprised lack of axis path within svg container. wrong?

  • as shown in image, arrow @ top-left corner indicates translate(margin.left, margin.top). but, guess translate(padding.left, padding.top). margin rect between origin , svg element. mistake?


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -