How to download D3 documentation for offline viewing

2,877 views
Skip to first unread message

Stanley Gu

unread,
Dec 29, 2012, 12:52:52 AM12/29/12
to d3...@googlegroups.com
Is there an easy way to download the D3 documentation and/or the examples for offline viewing?

Zack Maril

unread,
Dec 29, 2012, 2:32:09 AM12/29/12
to d3...@googlegroups.com

Stanley Gu

unread,
Dec 29, 2012, 3:08:53 AM12/29/12
to d3...@googlegroups.com
Thanks, I learned a little bit more after reading this: https://github.com/blog/699-making-github-more-open-git-backed-wikis.

However, the examples gallery links out to http://bl.ocks.org/, how can I get local copies of all the blocks?

d3noob

unread,
Dec 29, 2012, 11:13:01 AM12/29/12
to d3...@googlegroups.com
There are several suggestions here; https://groups.google.com/forum/?fromgroups=#!topic/d3-js/FCespD5yxcw or there is a free pdf of 'how to' type stuff for d3.js on d3noob.org here http://www.d3noob.org/p/d3noob-downloads.html (there are also some example files to go along with the document).

Chris Viau

unread,
Jan 2, 2013, 12:24:41 PM1/2/13
to d3...@googlegroups.com
Since bl.ocks is a Gist viewer, you could use the Gist API to download all of Mike Bostock gists, where all the examples resides. 

Amara Balakrishna

unread,
Dec 1, 2014, 8:36:15 AM12/1/14
to d3...@googlegroups.com
 var dataArray = [30,40,50];
                 var canvas = d3.select("body")
                                .append("svg")
                                .attr("width",1000)
                                .attr("height",3500);

                 var circle = canvas.selectAll("circle")
                                .data(dataArray)
                                .enter()
                                      .append("circle")
                                      .attr("cx",function(d,i){ return d * 10;})
                                      .attr("cy",function(d,i){ return d * 5;})
                                       .attr("r",function(d,i){ return d;})

          circle.transition().delay(1500)
                .duration(2000)
                .attr("cy",500)
                .transition()
        .duration(2000)
        .attr("cy",50) .transition()
                  .duration(2000)
                  .attr("cx",500)
    .attr("cy",50) .transition()
            .duration(2000)
            .attr("cx",00)
i made this code what i want is make this as continuous loop.is it possible.
Reply all
Reply to author
Forward
0 new messages