Create your own awesome maps

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account?
Log In

vbnvb by Mind Map: vbnvb
0.0 stars - reviews range from 0 to 5

vbnvb

1. visualization

animations

e.g.

because you declare the join & handling of adding/removing data, you can easily add animations

there's no update method, just set attributes or append

circles.attr("class", "update")

you describe DOM elements that d3 will create according to the data

visualisations can increase or decrease the value extracted from data

set attributes by data

circles = svg.selectAll("circle").data(data)

dfdfgdfgdgddf

circles.attr("r", function(d) { return d.radius; });

data joins

marrying data to the DOM

*read*, http:/bost.ocks.org/mike/join/

mapping by

enter, exists in data but not in DOM, need use enter().append(), circles.enter().append("circle").attr("class", "update")

update, exists in both

enter+update

exit

you have a method (eg, renderData) that does these 4 steps

exists in DOM but not in data

enter

fade in

load & manipulate data in different formats

asdasd

multi-dimensional

f df sdf sdf df

the 1st that's really a *visualisation* framework

drawing

RaphaëlJS

processing

drawing code

a JS version supports running in browser

flash

no loop over data

rather

declarative mapping of DOM elements to data

svg.selectAll("circle").data(data).enter().append("circle").attr("r", 2.5);

a

a

definition

vis tells a story made of data

conveys a value contained in the data

test

d3

does a lot for you, map data unto the DOM, interpolation, map properties unto scales of, positions, dimensions, colors, scales, linear, var normal = d3.scale.linear().domain([0, 1.0]).range([0, 255]);, _.map([0, 0,5, 1], normal), _.map([0, 0.5, 1], round), nice, var normal = d3.scale.linear().domain([0, 1.0]).range([0, 255]).nice();, colorspace math, natural = d3.extend(data);, colorscale = d3.scale.linear().domain(natural).intpolate(d3.interpoleateLab).range(startColor, endColor);

example, http://bl.ocks.org/3808218

outputs SVG, מה לעשות,ינינחינ, works with high-res (retina) DPI, use as image in HTML & CSS, manipulate style via CSS, selectors in JavaScript, e.g., by class, getElementByClassName, d3 selectors are almost the same as jquery's, d3.selectAll(...)

attributes aren't exactly the same as HTML

mostly, it just works

it's just javascript

you can use the browser debugger

123

go make something!

Ho!

EE

ee

hello

world

jsnkjdcnsdc

asdasda

dasdasd

asdadasd

jkfnvjnvdfv

njnkjnkn, kjnjn, kjnkjn, \\\\

dasdasd