On Github axelson / d3_presentation
2014-05-31
Audience: Some may know of D3, some may not. This presentation is aimed at all of you.Hypertext Markup Language: structures content for web browsers
Document Object Model: Hierarchical structure of HTML
<html> <head> <title>Page Title</title> </head> <body> <h1>Title on Page</h1> <p>Paragraph on the page.</p> </body> </html>
Style the visual presentation of HTML
body { background-color: black; color: white; }
Dynamic scripting language that modifies web pages
<script type="text/javascript"> alert("Hello, world!"); </script>
Text-based image format
<svg width="50" height="50"> <circle cx="25" cy="25" r="22" fill="blue" stroke="steelblue" stroke-width="3"/> </svg>Because SVG is text-based it is ideal for manipulating programmatically, for example via D3.
Convert a number to a color
Where the magic happens
Select specific group of HTML or SVG elements
Select elements that don't exist yet
Powerful toolbox for creating visualizations
D3 is a collection of tools that will help you build a visualization. Sample visualizations you find online are like instructions that will help you build the final product, but they require tweaking.Jason Axelson / @bostonvaulter