Multi-Series Line Chart
# d3 Sandbox

## Multi-Series Line Chart: Smartphone Sales 2007-2013

try mousing over the lines

mbostock reference. Mobile phone market share stats from Wikipedia/Gartner

- area chart
- practice with axes and labeling
- map()ping flat files to json
- converting to percentages

Notes

- define margin and width/height as functions of margin
- d3 ordinal scales
- x/y and axes are defined seperately
- svg shapes, line and area
- generators are both objects and functions (ex. path, x, y)
- loads of line interpolation options. [linear,step,basis,cardinal] etc, there exists a tension specification to further customize the interpolation
- imported numbers are strings until coerced, eg units: +d.Units
- domains must match range
- text-anchors, selecting and transforming text in axes
- applying tooltips to paths

<-- back to main project page