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 )
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, guesstranslate(padding.left, padding.top)
. margin rect between origin , svg element. mistake?
Comments
Post a Comment