# D3 Tutorials

<div id="js_warning"><strong>JavaScript is turned off, so this page won&rsquo;t be very interactive.</strong> Switch JavaScript back on in your web browser for the full experience.</div> These tutorials have been expanded into a book, Interactive Data Visualization for the Web, published by O’Reilly in March 2013. Purchase the ebook and print editions from O’Reilly. A free, online version includes interactive examples.

Related:  d3.jsD3.jsD3tutorialsjavascript

Thinking with Joins Say you’re making a basic scatterplot using D3, and you need to create some SVG circle elements to visualize your data. You may be surprised to discover that D3 has no primitive for creating multiple DOM elements. Wait, WAT? Mike Bostock December 27, 2014Mapping Every Path to the N.F.L. Playoffs December 20, 2014How Each Team Can Make the N.F.L. Gallery · mbostock/d3 Wiki Wiki ▸ Gallery Welcome to the D3 gallery! More examples are available on bl.ocks.org/mbostock. Interactive Data Visualization for the Web Copyright © 2013 Scott Murray Printed in the United States of America. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles ( For more information, contact our corporate/institutional sales department: 800-998-9938 or <corporate@oreilly.com>.

Mapping with D3 - Maptime Boston A friendly introduction Andy Woodruff for Maptime Boston @maptimeBoston | @awoodruff Follow along! maptimeboston.github.io/d3-maptime Documentation Learn the basics of D3 with this introductory tutorial, covering the core concepts of selections and data binding. Read me first! Using the example of a no-frills, static bar chart, this guide describes the core D3 concepts, including selections, functional properties, and scales.

El Patrón de los Números Primos: Prime Number Patterns by Jason Davies. For each natural number n, we draw a periodic curve starting from the origin, intersecting the x-axis at n and its multiples. The prime numbers are those that have been intersected by only two curves: the prime number itself and one. Below the currently highlighted number, we also show its sum of divisors σ(n), and its aliquot sum s(n) = σ(n) - n, which indicate whether the number is prime, deficient, perfect or abundant. Based on Sobre el patrón de los números primos by Omar E. Pol.

Using D3.js to visualise Hierarchical Classification Why D3.js? I’ve been playing around with a fairly new visualisation library called D3.js for the last couple of weeks. Given my last post about how awesome the python plotting library matplotlib is, why bother? D3 is for visualisation, as opposed to plotting. Where matplotlib is great for easily generating publication quality plots (by calls like pylab.hist(data) to make a histogram), D3 is more general. The basic concept is that you create a collection of objects (usually shapes in an svg), and bind data to them.

Related:  Computer Programming ResourcesData visualizationProgrammingVerhuisbewegingen